Skip to content

Commit b4f5e65

Browse files
authored
Merge pull request #8477 from Proofzy/esp-idf-v5.1-libs-uart1-pins
Fixing UART1 pins for esp-idf-v5.1-libs
2 parents 90978c8 + bfab4fe commit b4f5e65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp32/HardwareSerial.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void serialEvent(void) {}
6464
#elif CONFIG_IDF_TARGET_ESP32S3
6565
#define RX1 15
6666
#elif CONFIG_IDF_TARGET_ESP32C6
67-
#define RX1 5
67+
#define RX1 4
6868
#elif CONFIG_IDF_TARGET_ESP32H2
6969
#define RX1 0
7070
#endif
@@ -80,7 +80,7 @@ void serialEvent(void) {}
8080
#elif CONFIG_IDF_TARGET_ESP32S3
8181
#define TX1 16
8282
#elif CONFIG_IDF_TARGET_ESP32C6
83-
#define TX1 4
83+
#define TX1 5
8484
#elif CONFIG_IDF_TARGET_ESP32H2
8585
#define TX1 1
8686
#endif

0 commit comments

Comments
 (0)