update 2025-02-13 09:25:42

This commit is contained in:
kenzok8 2025-02-13 09:25:42 +08:00
parent 07e0bd11d8
commit 6678b882c4

View File

@ -125,8 +125,8 @@ caldata_valid() {
caldata_patch_data() {
local data=$1
local data_count=$((${#1} / 2))
local data_offset=$(($2))
local chksum_offset=$(($3))
[ -n "$2" ] && local data_offset=$(($2))
[ -n "$3" ] && local chksum_offset=$(($3))
local target=$4
local fw_data
local fw_chksum