Index: firmware/App/Modes/ModeChemicalDisinfect.c =================================================================== diff -u -re4657f6c590eed9c6af43a9739b87b81a34a8144 -r3fc87449b1c5b892a7f86430b7b8c49190ae56a8 --- firmware/App/Modes/ModeChemicalDisinfect.c (.../ModeChemicalDisinfect.c) (revision e4657f6c590eed9c6af43a9739b87b81a34a8144) +++ firmware/App/Modes/ModeChemicalDisinfect.c (.../ModeChemicalDisinfect.c) (revision 3fc87449b1c5b892a7f86430b7b8c49190ae56a8) @@ -1897,23 +1897,21 @@ /*********************************************************************//** * @brief - * The testSetConcentratePumpDataPublishIntervalOverride function overrides the - * concentrate pump data publish interval. + * The testSetChemDisinfectionCD2AvgOverride function overrides the + * CD2 acid value in chemical disinfect. * @details Inputs: none - * @details Outputs: concentratePumpDataPublishInterval + * @details Outputs: acidDataStatus.acidCondAvgUSPCM * @param value override concentrate pump data publish interval with (in ms) * @return TRUE if override successful, FALSE if not *************************************************************************/ -BOOL testSetChemDisinfectionCD2AvgOverride( U32 value ) +BOOL testSetChemDisinfectionCD2AvgOverride( F32 value ) { BOOL result = FALSE; if ( TRUE == isTestingActivated() ) { - U32 intvl = value / TASK_GENERAL_INTERVAL; - result = TRUE; - acidDataStatus.acidCondAvgUSPCM.ovData = intvl; + acidDataStatus.acidCondAvgUSPCM.ovData = value; acidDataStatus.acidCondAvgUSPCM.override = OVERRIDE_KEY; } @@ -1923,9 +1921,9 @@ /*********************************************************************//** * @brief * The testResetConcentratePumpDataPublishIntervalOverride function resets the - * override of the concentrate pump data publish interval. + * override of the CD2 acid value in chemical disinfect. * @details Inputs: none - * @details Outputs: concentratePumpDataPublishInterval + * @details Outputs: acidDataStatus.acidCondAvgUSPCM * @return TRUE if override reset successful, FALSE if not *************************************************************************/ BOOL testResetChemDisinfectionCD2AvgOverride( void ) @@ -1941,7 +1939,6 @@ return result; } - /**@}*/ // ********** Nelson Support Functions **********