From 41d3906cdf521fb5b937fe14d853a53b8112ed3d Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Fri, 16 Apr 2021 17:49:00 -0700 Subject: [PATCH] Esp32S2 Defaults not set (#465) --- src/internal/NeoEsp32RmtMethod.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/internal/NeoEsp32RmtMethod.h b/src/internal/NeoEsp32RmtMethod.h index 41da7e2..ffb7ab8 100644 --- a/src/internal/NeoEsp32RmtMethod.h +++ b/src/internal/NeoEsp32RmtMethod.h @@ -769,9 +769,12 @@ typedef NeoEsp32RmtMethodBase NeoEsp32Rmt7400KbpsInvertedMethod; #endif -#if defined(NEOPIXEL_ESP32_RMT_DEFAULT) -// Normally I2s method is the default, defining NEOPIXEL_ESP32_RMT_DEFAULT + + +#if defined(NEOPIXEL_ESP32_RMT_DEFAULT) || defined(CONFIG_IDF_TARGET_ESP32S2) +// Normally I2s method is the default, defining NEOPIXEL_ESP32_RMT_DEFAULT // will switch to use RMT as the default method +// The ESP32S2 will always defualt to RMT #if !defined(CONFIG_IDF_TARGET_ESP32S2) // (RMT_CHANNEL_MAX == 8)