mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 21:18:13 +08:00
user_ota_start
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "web_data.c"
|
#include "web_data.c"
|
||||||
#include "timed_task/timed_task.h"
|
#include "timed_task/timed_task.h"
|
||||||
|
#include "ota_server/user_ota.h"
|
||||||
|
|
||||||
static bool is_http_init;
|
static bool is_http_init;
|
||||||
static bool is_handlers_registered;
|
static bool is_handlers_registered;
|
||||||
@@ -296,7 +297,7 @@ static int OtaStart(httpd_request_t *req)
|
|||||||
require_noerr(err, exit);
|
require_noerr(err, exit);
|
||||||
|
|
||||||
app_httpd_log("OtaStart ota_url[%s]", buf);
|
app_httpd_log("OtaStart ota_url[%s]", buf);
|
||||||
//user_ota_start(buf, NULL);
|
user_ota_start(buf, NULL);
|
||||||
|
|
||||||
send_http("OK", 2, exit, &err);
|
send_http("OK", 2, exit, &err);
|
||||||
exit:
|
exit:
|
||||||
|
|||||||
Reference in New Issue
Block a user