# HG changeset patch # User ideenmodellierer # Date 1579032525 -3600 # Node ID b3ab85121e4d3465e8eac55de7f9138bd07f6b4e # Parent e908b894f107a296bff6d89705ce9360d2241a7d 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 diff -r e908b894f107 -r b3ab85121e4d Discovery/Src/base.c --- 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;