fix link ota files
This commit is contained in:
parent
8219fc5d4f
commit
b6a00cf514
2 changed files with 8 additions and 8 deletions
|
|
@ -1906,7 +1906,7 @@ function FirmwareCustom() {
|
|||
}
|
||||
function FirmwareBeta() {
|
||||
if(hwver_id != null) {
|
||||
let fn = otafiles.custom[hwver_id];
|
||||
let fn = otafiles.betafw[hwver_id];
|
||||
addLog("Загрузка firmware файла '"+fn+"'...");
|
||||
ajax_file(fn, getFwArray);
|
||||
}
|
||||
|
|
@ -1915,7 +1915,7 @@ function FirmwareBoot() {
|
|||
if(!confirm("Внимание!: Обновление Boot fw не безопасно. Во избежание сбоя прошивки желательно использование полной батареи!"))
|
||||
return;
|
||||
if(hwver_id != null) {
|
||||
let fn = otafiles.custom[hwver_id];
|
||||
let fn = otafiles.updateboot[hwver_id];
|
||||
addLog("Загрузка firmware файла '"+fn+"'...");
|
||||
ajax_file(fn, getFwArray);
|
||||
}
|
||||
|
|
|
|||
12
fw.json
12
fw.json
|
|
@ -7,10 +7,10 @@
|
|||
"bin/TH05D_v14.bin",
|
||||
"bin/TH05F_v14.bin"],
|
||||
"updateboot":[
|
||||
"update_boot/THB2_v14.bin",
|
||||
"update_boot/BTH01_v14.bin",
|
||||
"update_boot/TH05_v14.bin",
|
||||
"update_boot/BOOT_THB2_v14.bin",
|
||||
"update_boot/BOOT_BTH01_v14.bin",
|
||||
"update_boot/BOOT_TH05_v14.bin",
|
||||
"?",
|
||||
"update_boot/TH05D_v14.bin",
|
||||
"update_boot/TH05F_v14.bin",
|
||||
"update_boot/THB1_v14.bin"]}
|
||||
"update_boot/BOOT_TH05D_v14.bin",
|
||||
"update_boot/BOOT_TH05F_v14.bin",
|
||||
"update_boot/BOOT_THB1_v14.bin"]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue