1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 01:09:47 +01:00

Amazfit Bip S: allow flashing gps almanac (only cep worked before)

This commit is contained in:
Andreas Shimokawa 2020-09-07 22:57:18 +02:00
parent ce8021ec9b
commit d5cdf21154

View File

@ -89,8 +89,8 @@ public class AmazfitBipSFirmwareInfo extends HuamiFirmwareInfo {
if (ArrayUtils.startsWith(bytes, WATCHFACE_HEADER)) {
return HuamiFirmwareType.WATCHFACE;
}
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
return HuamiFirmwareType.GPS_CEP;
if (ArrayUtils.startsWith(bytes, GPS_ALMANAC_HEADER)) {
return HuamiFirmwareType.GPS_ALMANAC;
}
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
return HuamiFirmwareType.GPS_CEP;