xr809 ota request link (but not working because of flash issue)

This commit is contained in:
openshwprojects
2022-04-17 22:52:40 +02:00
parent 65812794dd
commit b7466188c6
2 changed files with 15 additions and 3 deletions

View File

@ -1083,6 +1083,8 @@ int http_fn_cfg_pins(http_request_t *request) {
return 0;
}
void XR809_RequestOTAHTTP(const char *s);
int http_fn_ota_exec(http_request_t *request) {
char tmpA[128];
//char tmpB[64];
@ -1096,8 +1098,7 @@ int http_fn_ota_exec(http_request_t *request) {
#elif PLATFORM_BL602
#elif PLATFORM_XR809
//cmd_ota_http_exec(tmpA);
xr809_do_ota_next_frame(tmpA);
XR809_RequestOTAHTTP(tmpA);
#else
otarequest(tmpA);
#endif