44 #define POWER_BUTTON_STATE_PWR_BUTTON_STATE_IDEL 0 45 #define POWER_BUTTON_STATE_PWR_BUTTON_STATE_DOWN 1 46 #define POWER_BUTTON_STATE_PWR_BUTTON_STATE_UP 2 47 #define POWER_BUTTON_STATE_PWR_BUTTON_STATE_REQUEST_SHUTDOWN 3 63 static constexpr uint8_t PWR_BUTTON_STATE_IDEL = 0;
64 static constexpr uint8_t PWR_BUTTON_STATE_DOWN = 1;
65 static constexpr uint8_t PWR_BUTTON_STATE_UP = 2;
66 static constexpr uint8_t PWR_BUTTON_STATE_REQUEST_SHUTDOWN = 3;
API for the uORB lightweight object broker.