From 1263c2500ccaa4560448d6d66496bc48bc30dea1 Mon Sep 17 00:00:00 2001 From: Jonathan Swoboda Date: Fri, 15 Nov 2024 10:53:36 -0500 Subject: [PATCH] Init all tx flags --- .../remote_transmitter/remote_transmitter_esp32.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/esphome/components/remote_transmitter/remote_transmitter_esp32.cpp b/esphome/components/remote_transmitter/remote_transmitter_esp32.cpp index bd7f5fa1aa..c5c7126776 100644 --- a/esphome/components/remote_transmitter/remote_transmitter_esp32.cpp +++ b/esphome/components/remote_transmitter/remote_transmitter_esp32.cpp @@ -41,7 +41,13 @@ void RemoteTransmitterComponent::configure_rmt_() { if (this->one_wire_) { channel.flags.io_loop_back = 1; channel.flags.io_od_mode = 1; + } else { + channel.flags.io_loop_back = 0; + channel.flags.io_od_mode = 0; } + channel.flags.invert_out = 0; + channel.flags.with_dma = 0; + channel.intr_priority = 0; esp_err_t error = rmt_new_tx_channel(&channel, &this->channel_); if (error != ESP_OK) { this->error_code_ = error;