修改一下模型相关
This commit is contained in:
@@ -872,6 +872,12 @@ void handleSetSettings() {
|
||||
prefs.putFloat("min_temp", minTemp);
|
||||
prefs.putFloat("max_temp", maxTemp);
|
||||
|
||||
Serial.printf("温度设置已更新 - 最低: %.1f°C, 最高: %.1f°C\n", minTemp, maxTemp);
|
||||
|
||||
// 温度设置更改后立即执行一次判断
|
||||
Serial.println("温度设置已更改,立即执行核心判断...");
|
||||
executeJudgeLogic();
|
||||
|
||||
server.send(200, "application/json", "{\"success\":true}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user