Index: firmware/App/Modes/ModeFill.c =================================================================== diff -u -r4d7bb5dc92d934b7237391503b211f238ba0d254 -r3836fcf6e190a4b6609e31041310eda0dd6e35ee --- firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 4d7bb5dc92d934b7237391503b211f238ba0d254) +++ firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 3836fcf6e190a4b6609e31041310eda0dd6e35ee) @@ -8,7 +8,7 @@ * @file ModeFill.c * * @author (last) Dara Navaei -* @date (last) 19-Sep-2023 +* @date (last) 20-Sep-2023 * * @author (original) Leonardo Baloa * @date (original) 19-Nov-2019 @@ -242,7 +242,7 @@ // Set initial actuator states setValveState( VDR, VALVE_STATE_DRAIN_C_TO_NO ); setValveState( VPO, VALVE_STATE_NOFILL_C_TO_NO ); -#ifdef 0 +#if 0 // Reset the state machine // Note: the substate timers, and operation flags need to be reset on recovery, consider // reinitializing the state variables, the resetting the state, by calling setModeFillStateTransition() @@ -537,7 +537,7 @@ * @param flag to TRUE if prime is needed otherwise FALSE * @return none *************************************************************************/ -void setThisFisrtFillFlag( BOOL flag ) +void setThisFirstFillFlag( BOOL flag ) { fillStatus.isThisFirstFill = flag; } @@ -950,7 +950,7 @@ ( getTargetFillVolumeML() > MIN_FILL_TARGET_TO_CHECK_RO_AND_CPO_ML ) && ( getTestConfigStatus( TEST_CONFIG_MIX_WITH_WATER ) != TRUE ) ) { setBadAvgConductivityDetectedFlag( TRUE ); // signal idle bad avg conductivity detected - setThisFisrtFillFlag( TRUE ); + setThisFirstFillFlag( TRUE ); resetChemicalUsedVolumeML( BICARB ); resetChemicalUsedVolumeML( ACID ); SET_ALARM_WITH_2_F32_DATA( ALARM_ID_DG_FILL_CONDUCTIVITY_OUT_OF_RANGE, avgBicarbConduSPerCM, bicarbNormalConduSPerCM ); // trigger replace bottles alarm #1