This commit is contained in:
NonPIayerCharacter
2025-09-29 09:41:36 +03:00
committed by GitHub
parent 17cc6353b6
commit 6083ddfca5
32 changed files with 1177 additions and 74 deletions

View File

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

View File

@ -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");