Skip to content

Commit

Permalink
Fix poor cut-n-paste error (#1905)
Browse files Browse the repository at this point in the history
Use the correct `SEND_SANYO_AC88` define.

Fixes #1897
  • Loading branch information
crankyoldgit authored Oct 22, 2022
1 parent e8234cc commit 7f02d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ir_Sanyo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7f02d0f

Please sign in to comment.