Pebble: Display active firmware slot (for 2 slot watches) in watch details

This commit is contained in:
Benjamin Temple
2026-05-17 08:06:15 -07:00
parent 9d46ba6bc9
commit 309dffbe61
@@ -2470,6 +2470,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
int runningSlot = mIsSlot0 ? 0 : 1;
int targetSlot = mIsSlot0 ? 1 : 0;
versionCmd.fwUpdateTargetSlot = targetSlot;
versionCmd.fwVersion2 = "slot " + runningSlot + " active";
LOG.info("Dual-slot firmware detected: running slot {}, will update slot {}", runningSlot, targetSlot);
}
int hwRev = buf.get() & 0xFF; // Convert to unsigned