Handle system upgrade files of type "nand-sysupgrade"

This commit is contained in:
Tim Wilkinson 2023-02-20 10:19:59 -08:00 committed by Joe AE6XE
parent 072c3da550
commit e728e30aaf
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ if parms.button_dl_fw and parms.dl_fw ~= "default" then
local fwimage
for _, image in ipairs(fwinfo.images)
do
if image.type == "sysupgrade" then
if image.type == "sysupgrade" or image.type == "nand-sysupgrade" then
fwimage = {
url = fw_versions[parms.dl_fw].target .. "/" .. image.name,
sha = image.sha256