| 64 | } |
| 65 | |
| 66 | void IRAM_ATTR hwTimerCallback() |
| 67 | { |
| 68 | ++hwTimerCount; |
| 69 | |
| 70 | if(hwTimer.expired()) { |
| 71 | unsigned count = hwTimerCount; |
| 72 | // System.queueCallback([count]() { hwTimerDelegate(count); }); |
| 73 | System.queueCallback(hwTimerDelegate, count); |
| 74 | hwTimer.start(); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | void onReady() |
| 79 | { |
nothing calls this directly
no test coverage detected