summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index de6a84feb..7b3087f9d 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -270,6 +270,7 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata)
value.deco.type == DC_DECO_DEEPSTOP) {
stopdepth = value.deco.depth * 1000.0 + 0.5;
stoptime = value.deco.time;
+ ndl = 0;
}
#endif
default: