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

@ -158,11 +158,9 @@ bool ConfigSettings::begin() {
case esp_chip_model_t::CHIP_ESP32C3:
strcpy(this->chipModel, "c3");
break;
#ifdef CHIP_ESP32C6
case esp_chip_model_t::CHIP_ESP32C6:
strcpy(this->chipModel, "c6");
break;
#endif
default:
sprintf(this->chipModel, "UNK%d", static_cast<int>(ci.model));
break;