Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r01be6e5783f939f65a49643422e2fe8c6f1c19c6 -r8822df8e80c96e00269b961cf497b40b1b63b965 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 01be6e5783f939f65a49643422e2fe8c6f1c19c6) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 8822df8e80c96e00269b961cf497b40b1b63b965) @@ -164,11 +164,19 @@ // { // define the alarm // } - // wait for IOFP GENP mode and when IOFP manual control is not set - if ( ( TRUE == pendingStartDDPreGenRequest ) && ( FP_MODE_GENP == fpMode ) && ( getTestConfigStatus( TEST_CONFIG_DD_RUN_SOLO ) == FALSE ) ) + if ( TRUE == pendingStartDDPreGenRequest ) { - pendingStartDDPreGenRequest = FALSE; - requestNewOperationMode( DD_MODE_PREG ); + // wait for IOFP GENP mode and when IOFP manual control is not set + if ( ( FP_MODE_GENP == fpMode ) && ( getTestConfigStatus( TEST_CONFIG_DD_RUN_SOLO ) == FALSE ) ) + { + pendingStartDDPreGenRequest = FALSE; + requestNewOperationMode( DD_MODE_PREG ); + } + else if ( getTestConfigStatus( TEST_CONFIG_DD_RUN_SOLO ) == TRUE ) + { + pendingStartDDPreGenRequest = FALSE; + requestNewOperationMode( DD_MODE_PREG ); + } } //Test request to handle only balancing chamber switching else if ( TRUE == pendingBalanceChamberSwOnlyRequest )