Mercurial > public > ostc4
diff Discovery/Src/tMenuEditGasOC.c @ 662:1b995079c045 Betatest
PSCR Mode
author | heinrichs weikamp |
---|---|
date | Tue, 14 Dec 2021 15:36:10 +0100 |
parents | 15f6f0b5786c |
children | 8775d3dc6325 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditGasOC.c Mon Nov 01 12:39:34 2021 +0100 +++ b/Discovery/Src/tMenuEditGasOC.c Tue Dec 14 15:36:10 2021 +0100 @@ -92,7 +92,7 @@ { if(line == 6) { - if((settingsGetPointer()->dive_mode == DIVEMODE_CCR) || (stateUsed->diveSettings.ccrOption == 1)) + if(isLoopMode(settingsGetPointer()->dive_mode) || (stateUsed->diveSettings.ccrOption == 1)) { selectPage(StMOG); } @@ -122,7 +122,7 @@ { if(line == 6) { - if((settingsGetPointer()->dive_mode == DIVEMODE_CCR) || (stateUsed->diveSettings.ccrOption == 1)) + if(isLoopMode(settingsGetPointer()->dive_mode) || (stateUsed->diveSettings.ccrOption == 1)) { selectPage(StMCG); } @@ -367,7 +367,7 @@ void tMEGas_check_switch_to_bailout(void) { - if(stateUsed->diveSettings.diveMode == DIVEMODE_CCR) + if(isLoopMode(stateUsed->diveSettings.diveMode)) { stateUsedWrite->diveSettings.diveMode = DIVEMODE_OC; block_diluent_page();