Index: firmware/App/Controllers/DryBiCart.c =================================================================== diff -u -rff1b8b02621afef8e65d68f8253662ac86a83479 -r61061e547ac63df8f0090cc3a3ba81079c88ce9f --- firmware/App/Controllers/DryBiCart.c (.../DryBiCart.c) (revision ff1b8b02621afef8e65d68f8253662ac86a83479) +++ firmware/App/Controllers/DryBiCart.c (.../DryBiCart.c) (revision 61061e547ac63df8f0090cc3a3ba81079c88ce9f) @@ -66,11 +66,12 @@ static U32 lastFillDurationInMS; ///< Previous time duration to fill the bicart fill. static U32 currentFillDurationInMS; ///< Current time duartion to fill the bicart fill. static OVERRIDE_U32_T dryBiCartFillRequested; ///< Start/stop Dry bicart fill. -static OVERRIDE_U32_T bicarbChamberFillRequested; ///< Start/stop Bicarb chamber fill. static OVERRIDE_U32_T dryBiCartDataPublishInterval; ///< Dry bicart data publish interval. static U32 dryBiCartDataPublicationTimerCounter; ///< Used to schedule drybicart data publication to CAN bus. static U32 dryBiCarbSupplyStartTime; ///< Bicarb supply start time from bicart to Chamber F. +static OVERRIDE_U32_T bicarbChamberFillRequested; ///< Start/stop Bicarb chamber fill. + // ********** private function prototypes ********** static DRY_BICART_FILL_EXEC_STATE_T handleDryBicartFillWaterStartState( void ); @@ -428,6 +429,7 @@ if ( TRUE == getU32OverrideValue( &bicarbChamberFillRequested ) ) { bicarbChamberFillExecState = BICARB_CHAMBER_CHECK_LEVEL_STATE; + bicarbChamberFillRequested.data = FALSE; } break; @@ -547,6 +549,19 @@ /*********************************************************************//** * @brief + * The setBicarbChamberFillRequested function sets the chmaberFillRequest + * flag value to be True. + * @details \b Inputs: none + * @details \b Outputs: none + * @return none. + *************************************************************************/ +void setBicarbChamberFillRequested( void ) +{ + bicarbChamberFillRequested.data = TRUE; +} + +/*********************************************************************//** + * @brief * The publishDryBicartData function broadcasts the dry bicart * data at defined interval. * @details \b Inputs: dryBiCartDataPublicationTimerCounter