diff Discovery/Src/vpm.c @ 312:e84a2486933e

Merged in janlmulder/ostc4/cleanup-4 (pull request #25) Fix stopwatch and divetime not in sync
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Fri, 31 May 2019 06:22:50 +0000
parents 305f251cc981
children b7d93ff6b3b2
line wrap: on
line diff
--- a/Discovery/Src/vpm.c	Fri May 17 06:38:56 2019 +0000
+++ b/Discovery/Src/vpm.c	Fri May 31 06:22:50 2019 +0000
@@ -240,7 +240,7 @@
         pDECOINFO->output_stop_length_seconds[i] = 0;
     }
 
-    if(pINPUT->dive_time_seconds < 60)
+    if(pINPUT->dive_time_seconds_without_surface_time < 60)
     {
         vpm_calc_status = CALC_NDL;
         return vpm_calc_status;