mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-02 05:29:45 +00:00
BL0942 support with calibration
This commit is contained in:
@ -187,6 +187,7 @@ int http_fn_index(http_request_t *request) {
|
||||
poststr(request,"</script>");
|
||||
}
|
||||
}
|
||||
DRV_AppendInformationToHTTPIndexPage(request);
|
||||
// strcat(outbuf,"<button type=\"button\">Click Me!</button>");
|
||||
|
||||
|
||||
|
||||
@ -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