Mercurial > public > ostc4
changeset 412:b3ab85121e4d Improment_NVM
Bugfix: Warnings displayed in Gauge Mode:
Decompression data was calculated while just gauge function was expected. Added expression to skip calculation like it is already implemented for apnoe mode
author | ideenmodellierer |
---|---|
date | Tue, 14 Jan 2020 21:08:45 +0100 |
parents | e908b894f107 |
children | 65c7b009136f |
files | Discovery/Src/base.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/base.c Mon Jan 13 20:27:57 2020 +0100 +++ b/Discovery/Src/base.c Tue Jan 14 21:08:45 2020 +0100 @@ -1680,7 +1680,7 @@ static CALC_WHAT what = CALC_INVALID; static int counter = 0; - if((stateUsed->mode != MODE_DIVE) || (stateUsed->diveSettings.diveMode == DIVEMODE_Apnea) || (decoLock != DECO_CALC_ready )) + if((stateUsed->mode != MODE_DIVE) || (stateUsed->diveSettings.diveMode == DIVEMODE_Apnea) || (stateUsed->diveSettings.diveMode == DIVEMODE_Gauge) || (decoLock != DECO_CALC_ready )) return; decoLock = DECO_CALC_running;