1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-28 08:02:23 +01:00

[esp32_rmt_led_strip] Add use_dma option (#8270)

This commit is contained in:
Jonathan Swoboda
2025-04-16 21:16:10 -04:00
committed by GitHub
parent 2fd5f9ac58
commit a7b676231a
3 changed files with 17 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ void ESP32RMTLEDStripLightOutput::setup() {
channel.flags.io_loop_back = 0;
channel.flags.io_od_mode = 0;
channel.flags.invert_out = 0;
channel.flags.with_dma = 0;
channel.flags.with_dma = this->use_dma_;
channel.intr_priority = 0;
if (rmt_new_tx_channel(&channel, &this->channel_) != ESP_OK) {
ESP_LOGE(TAG, "Channel creation failed");