We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc20e62 commit 9840189Copy full SHA for 9840189
IdleLoop/main.cpp
@@ -17,12 +17,13 @@ void watchdogRefreshIsr() {
17
18
void new_idle_loop()
19
{
20
- // Executes when no other thread is running
21
- led1 = !led1;
+ // Executes when no other thread is running
+ led1 = !led1;
22
}
23
24
int main() {
25
- watchdogThread.start(callback(&watchdogQueue, &EventQueue::dispatch_forever));
+
26
+ watchdogThread.start(callback(&watchdogQueue, &EventQueue::dispatch_forever));
27
watchdogTicker.attach(callback(&watchdogRefreshIsr), 5);
28
rtos_attach_idle_hook(&new_idle_loop);
29
0 commit comments