Index: firmware/App/Controllers/AirTrap.c =================================================================== diff -u -r6b870cd0699bb3ee22b93981d51373a6c2d56162 -rd3b7ae356aae29c99cb039713a2e120fdbce5a9c --- firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision 6b870cd0699bb3ee22b93981d51373a6c2d56162) +++ firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision d3b7ae356aae29c99cb039713a2e120fdbce5a9c) @@ -201,20 +201,6 @@ /*********************************************************************//** * @brief - * The execAirTrapMonitorPriming function executes the air trap monitor - * for cartridge priming during pre-treatment mode. - * @details Inputs: airTrapLevels[], airTrapFillAlarmCtr - * @details Outputs: airTrapFillAlarmCtr - * @return none - *************************************************************************/ -void execAirTrapMonitorPriming( void ) -{ - // TODO - Implement when priming sub-mode of pre-treatment mode is implemented. - // ActivateAlarmNoData( ALARM_ID_AIR_TRAP_FILL_DURING_PRIME ); -} - -/*********************************************************************//** - * @brief * The execAirTrapMonitorTreatment function executes the air trap monitor * for treatment mode. * @details Inputs: airTrapLevels[], airTrapFillAlarmCtr @@ -251,6 +237,7 @@ if ( MODE_FAUL == getCurrentOperationMode() ) { airTrapControllerState = AIR_TRAP_MANUAL_CONTROL_STATE; + setValveAirTrap( STATE_CLOSED ); pendingStartAirTrapController = FALSE; }