From db8b96f257685808ddd61aedebbc72c529552e17 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 8 Nov 2025 23:21:57 -0600 Subject: [PATCH] tweak --- esphome/components/remote_base/raw_protocol.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/remote_base/raw_protocol.h b/esphome/components/remote_base/raw_protocol.h index f59431c88a..941b6aab42 100644 --- a/esphome/components/remote_base/raw_protocol.h +++ b/esphome/components/remote_base/raw_protocol.h @@ -44,11 +44,11 @@ template class RawAction : public RemoteTransmitterActionBasecode_.func = func; - this->len_ = -1; + this->len_ = -1; // Sentinel value indicates template mode } void set_code_static(const int32_t *code, size_t len) { this->code_.data = code; - this->len_ = len; + this->len_ = len; // Length >= 0 indicates static mode } TEMPLATABLE_VALUE(uint32_t, carrier_frequency); @@ -69,7 +69,7 @@ template class RawAction : public RemoteTransmitterActionBase=0 = static mode with length union Code { RawTimings (*func)(Ts...); const int32_t *data;