1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Pebble: set HW revision to "dvt" for basalt emulator

This commit is contained in:
Andreas Shimokawa 2015-08-17 13:19:15 +02:00
parent c8c882c3d1
commit e704357728

View File

@ -1066,6 +1066,8 @@ public class PebbleProtocol extends GBDeviceProtocol {
Byte hwRev = buf.get();
if (hwRev > 0 && hwRev < hwRevisions.length) {
versionCmd.hwVersion = hwRevisions[hwRev];
} else if (hwRev == -3) { // basalt emulator
versionCmd.hwVersion = "dvt";
}
devEvt = versionCmd;
break;