mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
esp8266: Switch to standard mp_hal_delay_us() MPHAL function.
This commit is contained in:
@@ -56,7 +56,7 @@ STATIC void mp_reset(void) {
|
||||
|
||||
void soft_reset(void) {
|
||||
mp_hal_stdout_tx_str("PYB: soft reset\r\n");
|
||||
mp_hal_udelay(10000); // allow UART to flush output
|
||||
mp_hal_delay_us(10000); // allow UART to flush output
|
||||
mp_reset();
|
||||
pyexec_event_repl_init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user