We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81da75d commit 082bf30Copy full SHA for 082bf30
src/ir_Kelon.cpp
@@ -440,7 +440,7 @@ stdAc::fanspeed_t IRKelonAc::toCommonFanSpeed(const uint8_t speed) {
440
/// Convert the internal A/C object state to it's stdAc::state_t equivalent.
441
/// @return A stdAc::state_t containing the current settings.
442
stdAc::state_t IRKelonAc::toCommon(const stdAc::state_t *prev) const {
443
- stdAc::state_t result{};
+ stdAc::state_t result;
444
result.protocol = decode_type_t::KELON;
445
result.model = -1; // Unused.
446
result.mode = toCommonMode(getMode());
0 commit comments