| 4 | #include "hardware/gpio.h" |
| 5 | #include "usb/device/hid_device.h" |
| 6 | static int64_t restart_handler(__unused alarm_id_t id, void *user_data) |
| 7 | { |
| 8 | Accelerometer *inst = (Accelerometer *)user_data; |
| 9 | if (inst) |
| 10 | { |
| 11 | inst->processData(0, false, false, false, false); |
| 12 | } |
| 13 | return 0; |
| 14 | } |
| 15 | |
| 16 | void Accelerometer::begin() |
| 17 | { |
nothing calls this directly
no test coverage detected