1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Amazfit Bip: actually include FW 0.1.1.14 in the allowed firmwares that can change menu items

This commit is contained in:
Andreas Shimokawa 2018-04-27 21:05:12 +02:00
parent fd664b9c67
commit cf438618aa

View File

@ -140,7 +140,7 @@ public class AmazfitBipSupport extends MiBand2Support {
}
Version version = new Version(gbDevice.getFirmwareVersion());
if (version.compareTo(new Version("0.1.1.14")) <= 0) {
if (version.compareTo(new Version("0.1.1.14")) < 0) {
LOG.warn("Won't set menu items since firmware is too low to be safe");
return this;
}