1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-11 15:47:59 +02:00

Pebble: fix FW 3.x detection

This commit is contained in:
Andreas Shimokawa 2015-06-18 18:39:32 +02:00
parent c1769fb4b4
commit 1801a679c5

View File

@ -755,7 +755,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
buf.get(tmp, 0, 32);
versionCmd.fwVersion = new String(tmp).trim();
if (versionCmd.fwVersion.startsWith("3.")) {
if (versionCmd.fwVersion.startsWith("v3")) {
isFw3x = true;
}