summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index 129914e3c..e5556d53f 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -2248,6 +2248,10 @@ extern int dm5_gaschange(void *handle, int columns, char **data, char **column)
strcpy(cur_event.name, "gaschange");
cur_event.value = lrint(atof(data[1]));
}
+
+ /* He part of the mix */
+ if (data[2])
+ cur_event.value += lrint(atof(data[2])) << 16;
event_end();
return 0;