From 7f02d0f104a04d13f89bf07596982aafd030dd35 Mon Sep 17 00:00:00 2001 From: David Conran Date: Sat, 22 Oct 2022 20:17:20 +1000 Subject: [PATCH] Fix poor cut-n-paste error (#1905) Use the correct `SEND_SANYO_AC88` define. Fixes #1897 --- src/ir_Sanyo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ir_Sanyo.cpp b/src/ir_Sanyo.cpp index 4a38e8e09..bed0e7bc2 100644 --- a/src/ir_Sanyo.cpp +++ b/src/ir_Sanyo.cpp @@ -762,13 +762,13 @@ void IRSanyoAc88::stateReset(void) { /// Set up hardware to be able to send a message. void IRSanyoAc88::begin(void) { _irsend.begin(); } -#if SEND_SANYO_AC +#if SEND_SANYO_AC88 /// Send the current internal state as IR messages. /// @param[in] repeat Nr. of times the message will be repeated. void IRSanyoAc88::send(const uint16_t repeat) { _irsend.sendSanyoAc88(getRaw(), kSanyoAc88StateLength, repeat); } -#endif // SEND_SANYO_AC +#endif // SEND_SANYO_AC88 /// Get a PTR to the internal state/code for this protocol with all integrity /// checks passing.