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:
Paul Sokolovsky 2016-03-27 14:33:17 +03:00
parent 651a188299
commit 53302f1616
1 changed files with 1 additions and 1 deletions

View File

@ -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) {