mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-25 16:15:55 +01:00
Amazfit Cor: make sure that Veats firwmare does not get detected as a Cor firmware...
This commit is contained in:
parent
746cb00460
commit
eb08e66674
@ -68,7 +68,7 @@ public class AmazfitCorFirmwareInfo extends HuamiFirmwareInfo {
|
||||
String foundVersion = searchFirmwareVersion(bytes);
|
||||
if (foundVersion != null) {
|
||||
Version version = new Version(foundVersion);
|
||||
if (version.compareTo(new Version("1.0.5.00")) >= 0) {
|
||||
if ((version.compareTo(new Version("1.0.5.00")) >= 0) && (version.compareTo(new Version("2.0.0.00")) < 0)) {
|
||||
return HuamiFirmwareType.FIRMWARE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user