Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditGasOC.c @ 735:39f48356049b
Fixed invalid setpoint (0.0) used after switch from CCR to extra (OC) gas
Bugfix from mikeller
author | heinrichsweikamp |
---|---|
date | Tue, 14 Feb 2023 10:21:56 +0100 |
parents | 01f40cb1057e |
children | 2c243233c999 |
comparison
equal
deleted
inserted
replaced
734:190e5814b2f5 | 735:39f48356049b |
---|---|
343 //SDiveState * pDiveState = 0; | 343 //SDiveState * pDiveState = 0; |
344 | 344 |
345 for(int i=1;i<=(2*NUM_GASES);i++) | 345 for(int i=1;i<=(2*NUM_GASES);i++) |
346 editGasPage.pGasLine[i].note.ub.first = 0; | 346 editGasPage.pGasLine[i].note.ub.first = 0; |
347 | 347 |
348 tMEGas_check_switch_to_bailout(); | |
348 setActualGas_ExtraGas(&stateUsedWrite->lifeData, newOxygen, newHelium, 0); | 349 setActualGas_ExtraGas(&stateUsedWrite->lifeData, newOxygen, newHelium, 0); |
349 tMEGas_check_switch_to_bailout(); | |
350 return EXIT_TO_HOME; | 350 return EXIT_TO_HOME; |
351 } | 351 } |
352 if(action == ACTION_BUTTON_NEXT) | 352 if(action == ACTION_BUTTON_NEXT) |
353 { | 353 { |
354 digitContentNew = digitContent + 1; | 354 digitContentNew = digitContent + 1; |