Mercurial > public > ostc4
diff Discovery/Src/tMenuGas.c @ 696:cc542448fb28
Merge
author | heinrichsweikamp |
---|---|
date | Fri, 19 Aug 2022 11:30:24 +0200 |
parents | 1b995079c045 |
children |
line wrap: on
line diff
--- a/Discovery/Src/tMenuGas.c Mon Nov 01 12:39:34 2021 +0100 +++ b/Discovery/Src/tMenuGas.c Fri Aug 19 11:30:24 2022 +0200 @@ -55,7 +55,7 @@ } else { - if (stateUsed->diveSettings.diveMode == DIVEMODE_CCR) + if (isLoopMode(stateUsed->diveSettings.diveMode)) gas_mode = OCGAS_BAILOUT_INACTIVE; else gas_mode = OCGAS_BAILOUT_ACTIVE; @@ -328,7 +328,7 @@ text[textPointer++] = 0; } else /* switch to bailout selection in surface mode */ - if((settingsGetPointer()->dive_mode == DIVEMODE_CCR) || (stateUsed->diveSettings.ccrOption == 1)) + if((isLoopMode(settingsGetPointer()->dive_mode)) || (stateUsed->diveSettings.ccrOption == 1)) { text[textPointer++] = '\024'; if(gasMode == CCGAS_STANDARD)