diff --git a/cores/esp32/HardwareSerial.cpp b/cores/esp32/HardwareSerial.cpp index f7d6ea7619f..58f740b14c0 100644 --- a/cores/esp32/HardwareSerial.cpp +++ b/cores/esp32/HardwareSerial.cpp @@ -64,7 +64,7 @@ void serialEvent(void) {} #elif CONFIG_IDF_TARGET_ESP32S3 #define RX1 15 #elif CONFIG_IDF_TARGET_ESP32C6 -#define RX1 5 +#define RX1 4 #elif CONFIG_IDF_TARGET_ESP32H2 #define RX1 0 #endif @@ -80,7 +80,7 @@ void serialEvent(void) {} #elif CONFIG_IDF_TARGET_ESP32S3 #define TX1 16 #elif CONFIG_IDF_TARGET_ESP32C6 -#define TX1 4 +#define TX1 5 #elif CONFIG_IDF_TARGET_ESP32H2 #define TX1 1 #endif