From ec3b26da8bcf7206b969dfe059980e0e38713f99 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 30 Jan 2022 16:56:21 +0100 Subject: [PATCH] add S3 --- lib/libesp32/ESP32-to-ESP8266-compat/src/esp8266toEsp32.cpp | 2 ++ 1 file changed, 2 insertions(+) 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