Mercurial > public > ostc4
comparison Discovery/Src/vpm.c @ 293:02d10d955be2 div-fixes-6
bugfix, consistency: show deco, NDL after 1 minute
1 letter fix. VPM showed NDL data after 10 seconds, and Buehlmann after 60
seconds. And as this type of data is fully irrelevant during the first minute
(at least), make VPM and Buehlmann consistent and display NDL after 60 seconds.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Thu, 02 May 2019 10:05:28 +0200 |
parents | bfcea6e2ab3f |
children | 305f251cc981 |
comparison
equal
deleted
inserted
replaced
292:bfcea6e2ab3f | 293:02d10d955be2 |
---|---|
238 for(int i=0;i<DECOINFO_STRUCT_MAX_STOPS;i++) | 238 for(int i=0;i<DECOINFO_STRUCT_MAX_STOPS;i++) |
239 { | 239 { |
240 pDECOINFO->output_stop_length_seconds[i] = 0; | 240 pDECOINFO->output_stop_length_seconds[i] = 0; |
241 } | 241 } |
242 | 242 |
243 if(pINPUT->dive_time_seconds < 10) | 243 if(pINPUT->dive_time_seconds < 60) |
244 { | 244 { |
245 vpm_calc_status = CALC_NDL; | 245 vpm_calc_status = CALC_NDL; |
246 return vpm_calc_status; | 246 return vpm_calc_status; |
247 } | 247 } |
248 pVpm = pVPM; | 248 pVpm = pVPM; |