1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-04 12:02:06 +02: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;
}