mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-14 02:45:48 +00:00
committed by
GitHub
parent
437bd68daa
commit
d4d6c69be3
@ -277,9 +277,7 @@ static int http_rest_post(http_request_t* request) {
|
||||
return http_rest_post_reboot(request);
|
||||
}
|
||||
if (!strcmp(request->url, "api/ota")) {
|
||||
#if PLATFORM_BK7231T
|
||||
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA, LFS_BLOCKS_END);
|
||||
#elif PLATFORM_BK7231N
|
||||
#if PLATFORM_BEKEN
|
||||
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA, LFS_BLOCKS_END);
|
||||
#elif PLATFORM_W600
|
||||
return http_rest_post_flash(request, -1, -1);
|
||||
|
||||
Reference in New Issue
Block a user