mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
DLF import: Parse CNS value from event to.
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
87153cefaa
commit
a4e06bb68e
1 changed files with 1 additions and 1 deletions
|
@ -2813,7 +2813,7 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
|
|||
strcpy(cur_event.name, "HS Up");
|
||||
break;
|
||||
case 30:
|
||||
strcpy(cur_event.name, "CNS");
|
||||
snprintf(cur_event.name, MAX_EVENT_NAME, "CNS %d%%", ptr[6]);
|
||||
break;
|
||||
default:
|
||||
// No values above 30 had any description
|
||||
|
|
Loading…
Add table
Reference in a new issue