Commit bb6cced
fix(esp8266): correct UART port assignment for serial initialization
ESP8266 only supports UART1 as TX-only. Previously, the code attempted to use UART1 as RX and UART0 as TX, causing initialization failure. This commit swaps the UART ports, assigning UART1 as TX and UART0 as RX, resolving the issue. fix #83 and #921 parent 58d20f8 commit bb6cced
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments