Skip to content

Commit

Permalink
[BUG] Add missing send() method to IRPanasonicAC class. (#545)
Browse files Browse the repository at this point in the history
Ref: #540
  • Loading branch information
crankyoldgit authored Oct 4, 2018
1 parent 9874007 commit 0417978
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ir_Panasonic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@ void IRPanasonicAc::fixChecksum(const uint16_t length) {
remote_state[length - 1] = calcChecksum(remote_state, length);
}

#if SEND_PANASONIC_AC
void IRPanasonicAc::send() {
fixChecksum();
_irsend.sendPanasonicAC(remote_state);
}
#endif // SEND_PANASONIC_AC

void IRPanasonicAc::setModel(const panasonic_ac_remote_model_t model) {
switch (model) {
case kPanasonicDke:
Expand Down

0 comments on commit 0417978

Please sign in to comment.