From 9b6fce566da7045ea5730031538926307aab84c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Tue, 12 Nov 2024 23:32:11 +0000 Subject: [PATCH] Mi Band 9: Fix outdoor cycling parsing --- .../devices/xiaomi/activity/impl/WorkoutSummaryParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java index 1db5cecbc..bd0912017 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java @@ -454,6 +454,9 @@ public class WorkoutSummaryParser extends XiaomiActivityParser implements Activi case 5: headerSize = 6; break; + case 6: + headerSize = 7; + break; default: LOG.warn("Unable to parse workout summary version {}", fileId.getVersion()); return null;