mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-15 20:27:32 +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);
|
String foundVersion = searchFirmwareVersion(bytes);
|
||||||
if (foundVersion != null) {
|
if (foundVersion != null) {
|
||||||
Version version = new Version(foundVersion);
|
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;
|
return HuamiFirmwareType.FIRMWARE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user