From 2627d94f4fcbb95b734802474f150a2aee8932e0 Mon Sep 17 00:00:00 2001 From: zogodo <742782908@qq.com> Date: Thu, 9 Jan 2020 20:47:41 +0800 Subject: [PATCH] user_ota_start --- TC1/http_server/app_httpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TC1/http_server/app_httpd.c b/TC1/http_server/app_httpd.c index 8893028..63c3403 100644 --- a/TC1/http_server/app_httpd.c +++ b/TC1/http_server/app_httpd.c @@ -44,6 +44,7 @@ #include "main.h" #include "web_data.c" #include "timed_task/timed_task.h" +#include "ota_server/user_ota.h" static bool is_http_init; static bool is_handlers_registered; @@ -296,7 +297,7 @@ static int OtaStart(httpd_request_t *req) require_noerr(err, exit); app_httpd_log("OtaStart ota_url[%s]", buf); - //user_ota_start(buf, NULL); + user_ota_start(buf, NULL); send_http("OK", 2, exit, &err); exit: