Skip to content

Commit ebf8456

Browse files
authored
yield in delay() (openwch#115)
1 parent 5d8952b commit ebf8456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/wiring_time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void delay(uint32_t ms)
3939
if (ms != 0) {
4040
uint32_t start = getCurrentMillis();
4141
do {
42-
// yield();
42+
yield();
4343
} while (getCurrentMillis() - start < ms);
4444
}
4545
}

0 commit comments

Comments
 (0)