mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-04-20 11:02:14 +02:00
fixed esp32-c6 platform detection issue
This commit is contained in:
parent
f67da0917a
commit
bb61a1703d
4 changed files with 27 additions and 42 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue