mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use GASCHANGE2 constant for DLF GASCHANGE
And this encodes helium part to in the gaschange. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ab208c8fef
commit
eda1234621
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue