Parse He when importing from DM5

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-06-13 16:25:14 +08:00 committed by Dirk Hohndel
parent fb2638b3fb
commit ec40a25007

View file

@ -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;