Skip to content

Commit

Permalink
Merge pull request #8477 from Proofzy/esp-idf-v5.1-libs-uart1-pins
Browse files Browse the repository at this point in the history
Fixing UART1 pins for esp-idf-v5.1-libs
  • Loading branch information
me-no-dev committed Aug 12, 2023
2 parents 90978c8 + bfab4fe commit b4f5e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cores/esp32/HardwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b4f5e65

Please sign in to comment.