diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-12-28 23:38:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-28 20:31:41 -0800 |
commit | 123b104d090ecaa097b6f56e1451f5b8dcb5d705 (patch) | |
tree | 943828c5e31de52da576c85f37d62b3916057e47 /parse-xml.c | |
parent | c2be872f49d7b0e6f34e932e5b0ffc74db0654db (diff) | |
download | subsurface-123b104d090ecaa097b6f56e1451f5b8dcb5d705.tar.gz |
Add the dive start DLF event type
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index df242631a..739342951 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2604,6 +2604,12 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size) cylinder_end(); } break; + case 6: + event_start(); + cur_event.time.seconds = time; + strcpy(cur_event.name, "start"); + event_end(); + break; default: fprintf(stderr, "DEBUG (event): %d at time %d\n", ptr[4], time); } |