Pebble: set HW revision to "dvt" for basalt emulator
This commit is contained in:
parent
c8c882c3d1
commit
e704357728
|
@ -1066,6 +1066,8 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
||||||
Byte hwRev = buf.get();
|
Byte hwRev = buf.get();
|
||||||
if (hwRev > 0 && hwRev < hwRevisions.length) {
|
if (hwRev > 0 && hwRev < hwRevisions.length) {
|
||||||
versionCmd.hwVersion = hwRevisions[hwRev];
|
versionCmd.hwVersion = hwRevisions[hwRev];
|
||||||
|
} else if (hwRev == -3) { // basalt emulator
|
||||||
|
versionCmd.hwVersion = "dvt";
|
||||||
}
|
}
|
||||||
devEvt = versionCmd;
|
devEvt = versionCmd;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue