summaryrefslogtreecommitdiffstats
path: root/core/uemis.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/uemis.c')
-rw-r--r--core/uemis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uemis.c b/core/uemis.c
index 92b7cdfe9..eeb8a79c4 100644
--- a/core/uemis.c
+++ b/core/uemis.c
@@ -359,7 +359,7 @@ void uemis_parse_divelog_binary(char *base64, void *datap)
sample->time.seconds = u_sample->dive_time;
sample->depth.mm = rel_mbar_to_depth(u_sample->water_pressure, dive);
sample->temperature.mkelvin = C_to_mkelvin(u_sample->dive_temperature / 10.0);
- sample->sensor = active;
+ sample->sensor[0] = active;
sample->pressure[0].mbar =
(u_sample->tank_pressure_high * 256 + u_sample->tank_pressure_low) * 10;
sample->cns = u_sample->cns;