Pebble: fix FW 3.x detection

live-sensor-data
Andreas Shimokawa 2015-06-18 18:39:32 +02:00
parent c1769fb4b4
commit 1801a679c5
1 changed files with 1 additions and 1 deletions

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;
}