| 206 | * absolute timestamp about its reception. |
| 207 | */ |
| 208 | struct ButtonInfo |
| 209 | { |
| 210 | ButtonId buttonId; /**< The id of the button. */ |
| 211 | ButtonState state; /**< Button state. */ |
| 212 | bool firstTime; /**< First time in the state. */ |
| 213 | uint32_t timestamp; /**< Timestamp about button state reception in ms. */ |
| 214 | |
| 215 | ButtonInfo() : |
| 216 | buttonId(BUTTON_ID_CNT), |
| 217 | state(BUTTON_STATE_NC), |
| 218 | firstTime(true), |
| 219 | timestamp(0U) |
| 220 | { |
| 221 | } |
| 222 | }; |
| 223 | |
| 224 | Queue<ButtonInfo> m_stateQueue; /**< Button info queue */ |
| 225 | ButtonInfo m_lastButtonInfo[BUTTON_ID_CNT]; /**< Last handled button info */ |
nothing calls this directly
no outgoing calls
no test coverage detected