Skip to content

Commit

Permalink
Fujitsu: Disable horiz swing for ARRY4 (#907)
Browse files Browse the repository at this point in the history
Fixes #901
  • Loading branch information
crankyoldgit authored Sep 12, 2019
1 parent 7f4e0d6 commit 935ce0b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ir_Fujitsu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,7 @@ void IRFujitsuAC::setCmd(const uint8_t cmd) {
case kFujitsuAcCmdStepHoriz:
case kFujitsuAcCmdToggleSwingHoriz:
switch (_model) {
// Only these remotes have step horizontal.
case fujitsu_ac_remote_model_t::ARRY4:
// Only these remotes have horizontal.
case fujitsu_ac_remote_model_t::ARRAH2E:
case fujitsu_ac_remote_model_t::ARJW2:
_cmd = cmd;
Expand Down Expand Up @@ -428,11 +427,11 @@ void IRFujitsuAC::setSwing(const uint8_t swingMode) {
// No Horizontal support.
case fujitsu_ac_remote_model_t::ARDB1:
case fujitsu_ac_remote_model_t::ARREB1E:
case fujitsu_ac_remote_model_t::ARRY4:
// Set the mode to max if out of range
if (swingMode > kFujitsuAcSwingVert) _swingMode = kFujitsuAcSwingVert;
break;
// Has Horizontal support.
case fujitsu_ac_remote_model_t::ARRY4:
case fujitsu_ac_remote_model_t::ARRAH2E:
case fujitsu_ac_remote_model_t::ARJW2:
default:
Expand Down

0 comments on commit 935ce0b

Please sign in to comment.