Mercurial > public > ostc4
comparison Discovery/Src/buehlmann.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 |
comparison
equal
deleted
inserted
replaced
299:b70c26be71a0 | 312:e84a2486933e |
---|---|
121 memcpy(gTissue_helium_bar, pLifeData->tissue_helium_bar, (4*16)); | 121 memcpy(gTissue_helium_bar, pLifeData->tissue_helium_bar, (4*16)); |
122 gGF_value = ((float)pDiveSettings->gf_low) / 100.0f; | 122 gGF_value = ((float)pDiveSettings->gf_low) / 100.0f; |
123 | 123 |
124 stoplist = pDecoInfo->output_stop_length_seconds; | 124 stoplist = pDecoInfo->output_stop_length_seconds; |
125 | 125 |
126 if(pLifeData->dive_time_seconds < 60) | 126 if(pLifeData->dive_time_seconds_without_surface_time < 60) |
127 return; | 127 return; |
128 | 128 |
129 // clean stop list | 129 // clean stop list |
130 for(i = 0; i < DECOINFO_STRUCT_MAX_STOPS; i++) | 130 for(i = 0; i < DECOINFO_STRUCT_MAX_STOPS; i++) |
131 stoplist[i] = 0; | 131 stoplist[i] = 0; |