Skip to content

Commit 5cb2326

Browse files
committedJun 17, 2023
Code lint cleanup
1 parent 348e097 commit 5cb2326

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/ir_Gree.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ void IRGreeAC::off(void) { setPower(false); }
218218
void IRGreeAC::setPower(const bool on) {
219219
_.Power = on;
220220
// May not be needed. See #814
221-
_.ModelA = (on && (_model == gree_ac_remote_model_t::YAW1F || _model == gree_ac_remote_model_t::YX1F8F));
221+
_.ModelA = (on && (_model == gree_ac_remote_model_t::YAW1F
222+
|| _model == gree_ac_remote_model_t::YX1F8F));
222223
}
223224

224225
/// Get the value of the current power setting.

0 commit comments

Comments
 (0)
Failed to load comments.