1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-07 02:37:01 +01:00

Amazfit Bip: allow flashing latest beta firmware

This commit is contained in:
Andreas Shimokawa 2018-06-29 23:04:38 +02:00
parent 245eaac510
commit 87f9424ee3

View File

@ -151,7 +151,7 @@ public class AmazfitBipFirmwareInfo extends HuamiFirmwareInfo {
String foundVersion = searchFirmwareVersion(bytes);
if (foundVersion != null) {
Version version = new Version(foundVersion);
if ((version.compareTo(new Version("0.0.8.00")) >= 0) && (version.compareTo(new Version("1.0.0.00")) < 0)) {
if ((version.compareTo(new Version("0.0.8.00")) >= 0) && (version.compareTo(new Version("1.0.5.00")) < 0)) {
return HuamiFirmwareType.FIRMWARE;
}
}