Skip to content

Commit 9840189

Browse files
committed
editor fiasco
1 parent cc20e62 commit 9840189

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

IdleLoop/main.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ void watchdogRefreshIsr() {
1717

1818
void new_idle_loop()
1919
{
20-
// Executes when no other thread is running
21-
led1 = !led1;
20+
// Executes when no other thread is running
21+
led1 = !led1;
2222
}
2323

2424
int main() {
25-
watchdogThread.start(callback(&watchdogQueue, &EventQueue::dispatch_forever));
25+
26+
watchdogThread.start(callback(&watchdogQueue, &EventQueue::dispatch_forever));
2627
watchdogTicker.attach(callback(&watchdogRefreshIsr), 5);
2728
rtos_attach_idle_hook(&new_idle_loop);
2829
}

0 commit comments

Comments
 (0)