mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remember serial and firmware for divecomputers
This is not the right way to get serial numbers and firmware versions. The libdivecomputer interface here is simply broken. Those ARE NOT numbers. But until we have the capability in libdivecomputer to return reasonable strings to us, this could be a stop gap measure to help us understand how these are formatted. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7cedc4d48f
commit
19aa4245b4
2 changed files with 25 additions and 6 deletions
|
@ -19,7 +19,7 @@ typedef struct device_data_t
|
|||
{
|
||||
dc_descriptor_t *descriptor;
|
||||
const char *vendor, *product, *devname;
|
||||
const char *model;
|
||||
const char *model, *serial, *firmware;
|
||||
uint32_t deviceid, diveid;
|
||||
dc_device_t *device;
|
||||
dc_context_t *context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue