Update espmega_iot_core.cpp

This commit is contained in:
Siwat Sirichai 2023-10-02 23:20:06 +07:00
parent 7ebc091691
commit b5a7384d0f
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ void ac_set_state(int mode, int temperature, int fan_speed)
IrSender.sendRaw(ir_code_fan[fan_speed], sizeof(ir_code_fan[fan_speed]) / sizeof(ir_code_fan[fan_speed][0]), NEC_KHZ); IrSender.sendRaw(ir_code_fan[fan_speed], sizeof(ir_code_fan[fan_speed]) / sizeof(ir_code_fan[fan_speed][0]), NEC_KHZ);
break; break;
} }
ac_changed_user_callback(mode, temperature, fan_speed); ac_changed_user_callback(mode, ac_temperature, fan_speed);
} }
void publish_env_state() void publish_env_state()