diff --git a/lib/libesp32/ESP32-to-ESP8266-compat/src/esp8266toEsp32.cpp b/lib/libesp32/ESP32-to-ESP8266-compat/src/esp8266toEsp32.cpp index 69b0295ec..372d03a7a 100644 --- a/lib/libesp32/ESP32-to-ESP8266-compat/src/esp8266toEsp32.cpp +++ b/lib/libesp32/ESP32-to-ESP8266-compat/src/esp8266toEsp32.cpp @@ -31,6 +31,8 @@ enum LoggingLevels {LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_D const uint8_t MAX_PWMS = 16; // ESP32: 16 ledc PWM channels in total - TODO for now #elif defined(CONFIG_IDF_TARGET_ESP32S2) const uint8_t MAX_PWMS = 8; // ESP32S2: 8 ledc PWM channels in total +#elif defined(CONFIG_IDF_TARGET_ESP32S3) + const uint8_t MAX_PWMS = 8; // ESP32S2: 8 ledc PWM channels in total #elif defined(CONFIG_IDF_TARGET_ESP32C3) const uint8_t MAX_PWMS = 6; // ESP32C3: 6 ledc PWM channels in total #else