Skip to content

Commit 739ddab

Browse files
committed
CONSOLE: console DELAY now does event processing
1 parent d899b7d commit 739ddab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/console/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ void dev_delay(uint32_t timeout) {
338338
uint32_t slept = 0;
339339
uint32_t now = dev_get_millisecond_count();
340340
while (1) {
341-
if (osd_events(0) == -2) {
341+
if (osd_events(0) < 0) {
342342
break;
343343
}
344344
if (dev_get_millisecond_count() - now > timeout) {

0 commit comments

Comments
 (0)