Index: firmware/App/Monitors/Buttons.h =================================================================== diff -u -r9fcd1ad071bcce7a592833367c103e235e49654f -rf99f8b365af2274d68d7f424cc9be9815b4db19c --- firmware/App/Monitors/Buttons.h (.../Buttons.h) (revision 9fcd1ad071bcce7a592833367c103e235e49654f) +++ firmware/App/Monitors/Buttons.h (.../Buttons.h) (revision f99f8b365af2274d68d7f424cc9be9815b4db19c) @@ -36,16 +36,7 @@ BUTTON_STATE_RELEASED = 0, ///< Button is in the released state BUTTON_STATE_PRESSED, ///< Button is in the pressed state NUM_OF_BUTTON_STATES ///< Number of button states -} BUTTON_STATE_T; - -/// Enumeration of off button responses from UI. -typedef enum OffButtonRspsFromUI -{ - OFF_BUTTON_RSP_USER_REQUESTS_POWER_OFF = 0, ///< User requests power off response - OFF_BUTTON_RSP_USER_CONFIRMS_POWER_OFF, ///< User confirms power off response - OFF_BUTTON_RSP_USER_REJECTS_POWER_OFF, ///< User rejects power off response - NUM_OF_OFF_BUTTON_RSPS ///< Number of off button responses from UI -} OFF_BUTTON_RSP_T; +} BUTTON_STATE_T; #pragma pack(push,1) /// Payload record structure for an off button confirmation message from the UI. @@ -66,7 +57,6 @@ void initButtons( void ); void execButtons( void ); BOOL isStopButtonPressed( void ); -void userConfirmOffButton( U08 response ); SELF_TEST_STATUS_T execStuckButtonTest( void ); void resetStuckButtonPOSTState( void );