mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-08 13:55:48 +00:00
RDA5981 (#1813)
This commit is contained in:
committed by
GitHub
parent
17cc6353b6
commit
6083ddfca5
@ -124,7 +124,14 @@ exit:
|
||||
|
||||
lwip_close(fd);
|
||||
arg->isCompleted = true;
|
||||
#if PLATFORM_RDA5981
|
||||
arg->thread = NULL;
|
||||
arg->isCompleted = false;
|
||||
arg->fd = INVALID_SOCK;
|
||||
rtos_delete_thread(NULL);
|
||||
#else
|
||||
rtos_suspend_thread(NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline char* get_clientaddr(struct sockaddr_storage* source_addr)
|
||||
|
||||
@ -204,6 +204,8 @@ static int http_rest_post(http_request_t* request) {
|
||||
r = http_rest_post_flash(request, 0, -1);
|
||||
#elif PLATFORM_TXW81X
|
||||
r = http_rest_post_flash(request, 0, -1);
|
||||
#elif PLATFORM_RDA5981
|
||||
r = http_rest_post_flash(request, 0, -1);
|
||||
#else
|
||||
// TODO
|
||||
ADDLOG_ERROR(LOG_FEATURE_API, "No OTA");
|
||||
|
||||
Reference in New Issue
Block a user