summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-01-23 18:15:08 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-24 07:08:54 +1200
commitf45602f4f885bfde1f4874b94e4678ca5145b7d2 (patch)
tree8e61d1da1c266805e5f7da9e2e879f2045c38ee3 /parse-xml.c
parentc3614424f9117c053c783fba5f6499743ec125f9 (diff)
downloadsubsurface-f45602f4f885bfde1f4874b94e4678ca5145b7d2.tar.gz
Add missing DLF 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.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 4c2155a85..820953fab 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2661,10 +2661,12 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
}
break;
case 3:
+ // obsolete
strcpy(cur_event.name, "OC");
break;
case 4:
- // None
+ // obsolete
+ strcpy(cur_event.name, "CCR");
break;
case 5:
strcpy(cur_event.name, "gaschange");
@@ -2724,10 +2726,12 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
strcpy(cur_event.name, "Inconsistent");
break;
case 18:
- // Gets hidden?
+ // key pressed - probably not
+ // interesting to view on profile
break;
case 19:
- // None
+ // obsolete
+ strcpy(cur_event.name, "SCR");
break;
case 20:
strcpy(cur_event.name, "Above Stop");
@@ -2777,6 +2781,12 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
}
event_end();
break;
+ case 25:
+ strcpy(cur_event.name, "CCR O2 solenoid opened/closed");
+ break;
+ case 26:
+ strcpy(cur_event.name, "User mark");
+ break;
case 27:
snprintf(cur_event.name, MAX_EVENT_NAME, "GF Switch (%d/%d)", ptr[7], ptr[8]);
break;