Merge pull request #6046 from prplz/espressif-enter-repl-delayed-fix
Fix press any key responding slowly on espressif
This commit is contained in:
commit
ab037bd216
@ -138,3 +138,10 @@ void tud_cdc_rx_wanted_cb(uint8_t itf, char wanted_char) {
|
|||||||
mp_sched_keyboard_interrupt();
|
mp_sched_keyboard_interrupt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tud_cdc_rx_cb(uint8_t itf) {
|
||||||
|
(void)itf;
|
||||||
|
// Workaround for "press any key to enter REPL" response being delayed on espressif.
|
||||||
|
// Wake main task when any key is pressed.
|
||||||
|
port_wake_main_task();
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user