fixed esp32-c6 platform detection issue

This commit is contained in:
Shailen Sobhee 2026-03-30 21:04:59 +02:00
parent f67da0917a
commit bb61a1703d
4 changed files with 27 additions and 42 deletions

View file

@ -4712,8 +4712,8 @@ void transceiver_config_t::load() {
this->SCKPin = 15;
this->CSNPin = 14;
break;
#ifdef CHIP_ESP32C6
case esp_chip_model_t::CHIP_ESP32C6:
// Pinout applicable for the ESP32-C6-WROOM-1 module (ESP32-C6-DevKitC-1-N4)
this->TXPin = 10;
this->RXPin = 10;
this->MOSIPin = 7;
@ -4721,7 +4721,6 @@ void transceiver_config_t::load() {
this->SCKPin = 6;
this->CSNPin = 0;
break;
#endif
default:
this->TXPin = 13;
this->RXPin = 12;