Fix poor cut-n-paste error (#1905)

Use the correct `SEND_SANYO_AC88` define.

Fixes #1897
This commit is contained in:
David Conran
2022-10-22 20:17:20 +10:00
committed by GitHub
parent e8234cc21b
commit 7f02d0f104

View File

@@ -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.