Signed-off-by: Miika Turkia <[email protected]>
---
parse-xml.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/parse-xml.c b/parse-xml.c
index d651fa2..2750b3f 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2885,6 +2885,17 @@ extern int divinglog_profile(void *handle, int columns,
char **data, char **colu
sample_end();
}
+ for (i = 0, ptr = data[1]; i * 12 < len; ++i) {
+ /* Remaining bottom time warning */
+ if (ptr[6] - '0') {
+ event_start();
+ cur_event.time.seconds = sinterval * i;
+ strcpy(cur_event.name, "rbt");
+ event_end();
+ }
+ ptr += 12;
+ }
+
return 0;
}
--
2.1.4
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface