| 203 | } |
| 204 | |
| 205 | void HalGPIO::update() { |
| 206 | inputMgr.update(); |
| 207 | const bool connected = isUsbConnected(); |
| 208 | usbStateChanged = (connected != lastUsbConnected); |
| 209 | lastUsbConnected = connected; |
| 210 | } |
| 211 | |
| 212 | bool HalGPIO::wasUsbStateChanged() const { return usbStateChanged; } |
| 213 |
no outgoing calls
no test coverage detected