mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-03 05:58:33 +00:00
BL0942 support with calibration
This commit is contained in:
@ -190,9 +190,9 @@ static int http_rest_post(http_request_t *request){
|
||||
}
|
||||
if (!strcmp(request->url, "api/ota")){
|
||||
#if PLATFORM_BK7231T
|
||||
return http_rest_post_flash(request, 0x132000);
|
||||
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA);
|
||||
#elif PLATFORM_BK7231N
|
||||
return http_rest_post_flash(request, 0x12A000);
|
||||
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA);
|
||||
#else
|
||||
// TODO
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user