Pebble: fix FW 3.x detection
This commit is contained in:
parent
c1769fb4b4
commit
1801a679c5
|
@ -755,7 +755,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
||||||
buf.get(tmp, 0, 32);
|
buf.get(tmp, 0, 32);
|
||||||
|
|
||||||
versionCmd.fwVersion = new String(tmp).trim();
|
versionCmd.fwVersion = new String(tmp).trim();
|
||||||
if (versionCmd.fwVersion.startsWith("3.")) {
|
if (versionCmd.fwVersion.startsWith("v3")) {
|
||||||
isFw3x = true;
|
isFw3x = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue