尝试修复 日耗电量统计定时器不准确的问题,优化重启系统的方法

This commit is contained in:
nhkefus
2025-03-10 13:36:22 +08:00
parent 5276643a2e
commit 9746c102ed
2 changed files with 67 additions and 83 deletions

View File

@@ -293,8 +293,7 @@ static int HttpSetRebootSystem(httpd_request_t *req)
send_http("OK", 2, exit, &err);
char c[1] = { 0 };
sprintf(c, "reboot now !%s", "reboot");
MicoSystemReboot();
exit:
return err;