diff options
Diffstat (limited to 'core/liquivision.c')
-rw-r--r-- | core/liquivision.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/liquivision.c b/core/liquivision.c index dae9ae81b..8ed358a0f 100644 --- a/core/liquivision.c +++ b/core/liquivision.c @@ -310,8 +310,7 @@ static void parse_dives (int log_version, const unsigned char *buf, unsigned int if (log_version == 3) { ps_ptr += handle_event_ver3(event_code, ps, ps_ptr, &event); - // Ignoring the buddy sensor for now as we cannot draw it on the profile. - if ((event_code != 0xf) || (event.pressure.sensor != 0)) + if (event_code != 0xf) continue; // ignore all but pressure sensor event } else { // version 2 ps_ptr += handle_event_ver2(event_code, ps, ps_ptr, &event); |