mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Divinglog import: RBT warning event added
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
495aab8f20
commit
c91ecb62af
1 changed files with 11 additions and 0 deletions
11
parse-xml.c
11
parse-xml.c
|
@ -2885,6 +2885,17 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu
|
|||
sample_end();
|
||||
}
|
||||
|
||||
for (i = 0, ptr = data[1]; i * 12 < len; ++i) {
|
||||
/* Remaining bottom time warning */
|
||||
if (ptr[6] - '0') {
|
||||
event_start();
|
||||
cur_event.time.seconds = sinterval * i;
|
||||
strcpy(cur_event.name, "rbt");
|
||||
event_end();
|
||||
}
|
||||
ptr += 12;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue