diff --git a/src/internal/methods/ESP/ESP32/Core_2_x/NeoEsp32RmtMethod.h b/src/internal/methods/ESP/ESP32/Core_2_x/NeoEsp32RmtMethod.h index eedcac1..0304d46 100644 --- a/src/internal/methods/ESP/ESP32/Core_2_x/NeoEsp32RmtMethod.h +++ b/src/internal/methods/ESP/ESP32/Core_2_x/NeoEsp32RmtMethod.h @@ -976,7 +976,7 @@ typedef NeoEsp32Rmt7Ws2805InvertedMethod NeoEsp32Rmt7Ws2814InvertedMethod; // Normally I2s method is the default, defining NEOPIXEL_ESP32_RMT_DEFAULT // will switch to use RMT as the default method -// The ESP32S2, ESP32S3, and ESP32C3 will always defualt to RMT +// The ESP32S2, ESP32S3, and ESP32C3 will always default to RMT #if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3) diff --git a/src/internal/methods/ESP/ESP32/NeoEsp32RmtMethod.h b/src/internal/methods/ESP/ESP32/NeoEsp32RmtXMethod.h similarity index 98% rename from src/internal/methods/ESP/ESP32/NeoEsp32RmtMethod.h rename to src/internal/methods/ESP/ESP32/NeoEsp32RmtXMethod.h index 7bfc351..f5146d0 100644 --- a/src/internal/methods/ESP/ESP32/NeoEsp32RmtMethod.h +++ b/src/internal/methods/ESP/ESP32/NeoEsp32RmtXMethod.h @@ -295,12 +295,11 @@ public: private: const size_t _sizeData; // Size of '_data*' buffers - const uint8_t _pin; // output pin number + const uint8_t _pin; // output pin number rmt_transmit_config_t _tx_config = {}; rmt_encoder_handle_t _led_encoder = nullptr; - rmt_channel_handle_t _channel = nullptr; // holds instance for multi channel support - + rmt_channel_handle_t _channel = nullptr; // holds dynamic instance for multi channel support // Holds data stream which include LED color values and other settings as needed uint8_t* _dataEditing; // exposed for get and set @@ -353,7 +352,7 @@ typedef NeoEsp32RmtMethodBase NeoEsp32RmtX400Kb // Normally I2s method is the default, defining NEOPIXEL_ESP32_RMT_DEFAULT // will switch to use RMT as the default method -// The ESP32S2 & ESP32C3 will always defualt to RMT +// The ESP32S2 & ESP32C3 will always default to RMT typedef NeoEsp32RmtXWs2812xMethod NeoWs2813Method; typedef NeoEsp32RmtXWs2812xMethod NeoWs2812xMethod; diff --git a/src/internal/methods/NeoEsp8266I2sMethodCore.h b/src/internal/methods/NeoEsp8266I2sMethodCore.h index 3d64059..39d75b7 100644 --- a/src/internal/methods/NeoEsp8266I2sMethodCore.h +++ b/src/internal/methods/NeoEsp8266I2sMethodCore.h @@ -291,7 +291,7 @@ protected: // the last item will loop to the first item _i2sBufDesc[indexDesc - 1].next_link_ptr = reinterpret_cast(&(_i2sBufDesc[0])); - // the last state block will loop to the first state block by defualt + // the last state block will loop to the first state block by default _i2sBufDesc[c_StateBlockCount - 1].next_link_ptr = reinterpret_cast(&(_i2sBufDesc[0])); // setup the rest of i2s DMA