Skip to content

Commit bfab4fe

Browse files
committed
Correcting RX1 to GPIO4 and TX1 to GPIO5 to be consistent with documentation. Previous pin use works but is inconsistent with C6 docs.
1 parent 5a6507e commit bfab4fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 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)