user_ota_start

This commit is contained in:
zogodo
2020-01-09 20:47:41 +08:00
parent a86f55d837
commit 2627d94f4f

View File

@@ -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: