summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-01-09 23:14:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-10 16:13:32 +0700
commit6037be946f91930f97a7c01000e0951aed2b1b1a (patch)
treebce87d97200c94ca7ece742e4ef24b727890dc62 /parse-xml.c
parent18e625129e9e309ca879fb41d648772a35c30beb (diff)
downloadsubsurface-6037be946f91930f97a7c01000e0951aed2b1b1a.tar.gz
Add a few more Suunto events
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 2e456953d..04b6d4d7d 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1681,6 +1681,10 @@ extern int dm4_events(void *handle, int columns, char **data, char **column)
/* 13 Air time */
cur_event.name = strdup("airtime");
break;
+ case 17:
+ /* 17 Ascent warning */
+ cur_event.name = strdup("ascent");
+ break;
case 18:
/* 18 Ceiling error */
cur_event.name = strdup("ceiling");
@@ -1689,6 +1693,14 @@ extern int dm4_events(void *handle, int columns, char **data, char **column)
/* 19 Surfaced */
cur_event.name = strdup("surface");
break;
+ case 20:
+ /* 20 Deco */
+ cur_event.name = strdup("deco");
+ break;
+ case 22:
+ /* 22 Mandatory safety stop violation */
+ cur_event.name = strdup("violation");
+ break;
case 257:
/* 257 Dive active */
/* This seems to be given after surface