From bf7b6e2329bf6c8eec1ec804af9109e5299c5609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Sat, 12 Oct 2024 13:40:35 +0100 Subject: [PATCH] Fix wrong parameter type --- .../service/devices/garmin/fit/messages/FitRecord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/garmin/fit/messages/FitRecord.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/garmin/fit/messages/FitRecord.java index 7889ab721..17a165d68 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/garmin/fit/messages/FitRecord.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/garmin/fit/messages/FitRecord.java @@ -136,7 +136,7 @@ public class FitRecord extends RecordData { activityPoint.setHeartRate(getHeartRate()); } if (getEnhancedSpeed() != null) { - activityPoint.setSpeed(getEnhancedSpeed()); + activityPoint.setSpeed(getEnhancedSpeed().floatValue()); } return activityPoint; }