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:
parent
245eaac510
commit
87f9424ee3
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user