Skip to content

Commit 0a69647

Browse files
committed
add idle time after setting uart baud rate
1 parent b5c6d45 commit 0a69647

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/esp8266/user_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ void user_rf_pre_init() {
217217
void user_init() {
218218
// Initialize the UART devices
219219
uart_init(BIT_RATE_115200, BIT_RATE_115200);
220+
os_delay_us(10000); // give the uart a break
220221
UART_SetPrintPort(1);
221222

222223
// Dump the restart exception information.

0 commit comments

Comments
 (0)