mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-02 04:25:14 +02:00
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
Block a user