w800 port ip and ota calls

This commit is contained in:
openshwprojects
2022-07-11 15:56:19 +02:00
parent 67a2502f59
commit f8e365e17f
2 changed files with 5 additions and 1 deletions

View File

@ -1630,12 +1630,13 @@ int http_fn_ota_exec(http_request_t *request) {
poststr(request,htmlHeader);
if(http_getArg(request->url,"host",tmpA,sizeof(tmpA))) {
hprintf128(request,"<h3>OTA requested for %s!</h3>",tmpA);
addLogAdv(LOG_INFO, LOG_FEATURE_HTTP,"http_fn_ota_exec: will try to do OTA for %s \r\n",tmpA);
#if WINDOWS
#elif PLATFORM_BL602
#elif PLATFORM_W800
t_http_fwup(tmpA);
#elif PLATFORM_XR809
XR809_RequestOTAHTTP(tmpA);
#else