summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2014-10-22 12:11:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-07 20:55:18 -0800
commit0a27978014162f88f1ac26695e7180f502e66498 (patch)
tree28d897a194d601f0d1410d751139da10a30a1d81 /dive.h
parentcff413f14d89b8239e676240aef4d73f8ea07559 (diff)
downloadsubsurface-0a27978014162f88f1ac26695e7180f502e66498.tar.gz
Use the new DC_FIELD_STRING callback if it exists
This recognizes recognize some strigns (serial number and firmware version), and the ones that it doesn't recognize it adds as extra data using Dirk's new interface. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index dffdc4ebe..e3c4c74e7 100644
--- a/dive.h
+++ b/dive.h
@@ -261,7 +261,7 @@ struct divecomputer {
enum dive_comp_type dctype; // dive computer type: OC(default) or CCR
uint8_t no_o2sensors; // rebreathers: number of O2 sensors used
int salinity; // kg per 10000 l
- const char *model;
+ const char *model, *serial, *fw_version;
uint32_t deviceid, diveid;
int samples, alloc_samples;
struct sample *sample;