[PATCH 6/6] Add the dive start DLF event type
Anton Lundin
glance at acc.umu.se
Sun Dec 28 14:38:44 PST 2014
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
parse-xml.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/parse-xml.c b/parse-xml.c
index df24263..7393429 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);
}
--
2.1.0
More information about the subsurface
mailing list