Skip to content

Commit

Permalink
Code lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Limb committed Jun 17, 2023
1 parent 348e097 commit 8a706a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ir_Gree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ void IRGreeAC::off(void) { setPower(false); }
void IRGreeAC::setPower(const bool on) {
_.Power = on;
// May not be needed. See #814
_.ModelA = (on && (_model == gree_ac_remote_model_t::YAW1F || _model == gree_ac_remote_model_t::YX1F8F));
_.ModelA = (on && (_model == gree_ac_remote_model_t::YAW1F
|| _model == gree_ac_remote_model_t::YX1F8F));
}

/// Get the value of the current power setting.
Expand Down

0 comments on commit 8a706a5

Please sign in to comment.