summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-27 08:27:16 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-27 08:31:04 -0800
commit9f95f3ce18a1c25b0407335f472987c64940153d (patch)
treeee2c690e6e4d555ce31277324dd99408ad6c4cff /libdivecomputer.h
parent1c65b2f3c4dab4927ad319a5383dabfae689aae3 (diff)
downloadsubsurface-9f95f3ce18a1c25b0407335f472987c64940153d.tar.gz
Keep undecoded firmware / serial info from libdivecomputer
This needs to become a string in libdivecomputer - but for now let's just keep the integers so we can parse it elsewhere when we know which model it is - the generic parsing into a string is completely bogus and needs to go. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r--libdivecomputer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h
index 795c4ae85..59e513142 100644
--- a/libdivecomputer.h
+++ b/libdivecomputer.h
@@ -19,7 +19,8 @@ typedef struct device_data_t
{
dc_descriptor_t *descriptor;
const char *vendor, *product, *devname;
- const char *model, *serial, *firmware;
+ const char *model;
+ uint32_t libdc_firmware, libdc_serial;
uint32_t deviceid, diveid;
dc_device_t *device;
dc_context_t *context;