1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Amazfit Bip S: fix installation of latest res (96)

This commit is contained in:
Andreas Shimokawa 2020-06-29 00:17:23 +02:00
parent 496460502b
commit c1b6f5f4f5

View File

@ -76,7 +76,8 @@ public class AmazfitBipSFirmwareInfo extends HuamiFirmwareInfo {
}
}
if (ArrayUtils.equals(bytes, NEWRES_HEADER, COMPRESSED_RES_HEADER_OFFSET)) {
if (ArrayUtils.equals(bytes, NEWRES_HEADER, COMPRESSED_RES_HEADER_OFFSET) ||
ArrayUtils.equals(bytes, NEWRES_HEADER, COMPRESSED_RES_HEADER_OFFSET_NEW)) {
return HuamiFirmwareType.RES_COMPRESSED;
}