mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
DLF: Parse diluent changes as a gaschange event
Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
f0303802dd
commit
8f6f9cd39d
1 changed files with 4 additions and 1 deletions
|
@ -3710,7 +3710,10 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
|
||||||
strcpy(cur_event.name, "Fatal");
|
strcpy(cur_event.name, "Fatal");
|
||||||
break;
|
break;
|
||||||
case 23:
|
case 23:
|
||||||
strcpy(cur_event.name, "Diluent");
|
strcpy(cur_event.name, "gaschange");
|
||||||
|
cur_event.type = SAMPLE_EVENT_GASCHANGE2;
|
||||||
|
cur_event.value = ptr[7] << 8 ^ ptr[6];
|
||||||
|
event_end();
|
||||||
break;
|
break;
|
||||||
case 24:
|
case 24:
|
||||||
strcpy(cur_event.name, "gaschange");
|
strcpy(cur_event.name, "gaschange");
|
||||||
|
|
Loading…
Add table
Reference in a new issue