Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r8bfe61e466e4721f5d6180f2b67eeca04a3315ae -rfebf34ac531641da5c58262c56d3be6aeff3b209 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 8bfe61e466e4721f5d6180f2b67eeca04a3315ae) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision febf34ac531641da5c58262c56d3be6aeff3b209) @@ -1162,7 +1162,7 @@ BOOL isBasicFlushValid = ( ( currentRTCEpochTimeS - lastFlushCompleteDateS ) < FLUSH_TIME_INTERVAL_S ? TRUE : FALSE ); BOOL isChemFlushValid = ( ( currentRTCEpochTimeS - lastChemFlushCompleteDateS ) < FLUSH_TIME_INTERVAL_S ? TRUE : FALSE ); BOOL isHeatDisCoolFlushValid = ( ( currentRTCEpochTimeS - lastHeatCoolCompleteDateS ) < FLUSH_TIME_INTERVAL_S ? TRUE : FALSE ); - BOOL isFlushValid = ( ( TRUE == isBasicFlushValid ) || ( TRUE == isChemFlushValid ) || ( TRUE == isHeatDisCoolFlushValid ) ); + BOOL isFlushValid = ( ( TRUE == isBasicFlushValid ) || ( TRUE == isChemFlushValid ) || ( TRUE == isHeatDisCoolFlushValid ) ? TRUE : FALSE ); // If all of the above conditions are true, it means we can start a treatment if ( ( TRUE == hasDisBeenDone ) && ( TRUE == isHeatDisValid ) && ( TRUE == isChemFlushComplete ) && ( TRUE == isFlushValid ) )