mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add the dive start DLF event type
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c2be872f49
commit
123b104d09
1 changed files with 6 additions and 0 deletions
|
@ -2604,6 +2604,12 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
|
||||||
cylinder_end();
|
cylinder_end();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 6:
|
||||||
|
event_start();
|
||||||
|
cur_event.time.seconds = time;
|
||||||
|
strcpy(cur_event.name, "start");
|
||||||
|
event_end();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "DEBUG (event): %d at time %d\n", ptr[4], time);
|
fprintf(stderr, "DEBUG (event): %d at time %d\n", ptr[4], time);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue