mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 14:08:19 +08:00
尝试修复 日耗电量统计定时器不准确的问题,优化重启系统的方法
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user