Index: firmware/App/Controllers/AirPump.h =================================================================== diff -u -r4bcafe45ae40939d6b3471f4ccca7e2b4fa7c0f5 -r2db157fa0b39912cdf03e39c5ff3090c300ff32c --- firmware/App/Controllers/AirPump.h (.../AirPump.h) (revision 4bcafe45ae40939d6b3471f4ccca7e2b4fa7c0f5) +++ firmware/App/Controllers/AirPump.h (.../AirPump.h) (revision 2db157fa0b39912cdf03e39c5ff3090c300ff32c) @@ -33,24 +33,22 @@ /// Payload record structure for air pump data broadcast message typedef struct { - U32 airPumpStateStatus; - U32 airPumpMotorStatus; + U32 airPumpStateStatus; ///< Air Pump state status } AIR_PUMP_PAYLOAD_T; /// Enumeration of air pump states. typedef enum AirPumpControllerStates { - AIR_PUMP_STATE_OFF= 0, ///< Air Pump Off + AIR_PUMP_STATE_INIT = 0, ///< Air Pump Init + AIR_PUMP_STATE_OFF, ///< Air Pump Off AIR_PUMP_STATE_ON, ///< Air Pump On - AIR_PUMP_STATE_START, NUM_OF_AIR_PUMP_STATES, } AIR_PUMP_STATE_T; // ********** public function prototypes ********** void initAirPump(void); - void execAirPumpController(void); void setAirPumpState( AIR_PUMP_STATE_T state ); AIR_PUMP_STATE_T getAirPumpState( void );