aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index 409619ab0..0193de549 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -1949,7 +1949,9 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size, struct dive_table *tabl
event_end();
break;
case 25:
- strcpy(cur_event.name, "CCR O2 solenoid opened/closed");
+ // uint16_t solenoid_bitmap = (ptr[7] << 8) + (ptr[6] << 0);
+ // uint32_t time = (ptr[11] << 24) + (ptr[10] << 16) + (ptr[9] << 8) + (ptr[8] << 0);
+ snprintf(cur_event.name, MAX_EVENT_NAME, "CCR O2 solenoid %s", ptr[12] ? "opened": "closed");
break;
case 26:
strcpy(cur_event.name, "User mark");