summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c
index f0e6bc1b0..65dc80910 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2600,8 +2600,8 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
switch (ptr[4]) {
case 5:
strcpy(cur_event.name, "gaschange");
- cur_event.type = 25;
- cur_event.value = ptr[6];
+ cur_event.type = SAMPLE_EVENT_GASCHANGE2;
+ cur_event.value = ptr[7] << 8 ^ ptr[6];
found = false;
for (i = 0; i < cur_cylinder_index; ++i) {