mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
esp8266: Set up UART handling task soon into init process.
Otherwise, events may be posted to non-initialized task, which leads to segfaults.
This commit is contained in:
@@ -62,10 +62,10 @@ void soft_reset(void) {
|
||||
}
|
||||
|
||||
void init_done(void) {
|
||||
uart_task_init();
|
||||
mp_reset();
|
||||
mp_hal_stdout_tx_str("\r\n");
|
||||
pyexec_event_repl_init();
|
||||
uart_task_init();
|
||||
}
|
||||
|
||||
void user_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user