Skip to content

Commit 0a87a50

Browse files
SuGliderCopilot
andauthored
fix(uart): fixes bad case value
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 66c43f7 commit 0a87a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/HardwareSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ extern "C" void hal_uart_notify_pins_detached(int uart_num) {
8080
case UART_NUM_4: Serial4.end(); break;
8181
#endif
8282
#if SOC_UART_NUM > 5
83-
case UART_NUM_4: Serial5.end(); break;
83+
case UART_NUM_5: Serial5.end(); break;
8484
#endif
8585
default: break;
8686
}

0 commit comments

Comments
 (0)