From c21206fbe4a1984b6061a5873fed3150c596b4bf Mon Sep 17 00:00:00 2001 From: vanous Date: Fri, 14 Aug 2020 07:58:14 +0200 Subject: [PATCH] Swapping min/max elevation --- .../devices/huami/operations/FetchSportsSummaryOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java index dd26eb591..93d12f419 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java @@ -288,8 +288,8 @@ public class FetchSportsSummaryOperation extends AbstractFetchOperation { distanceMeters = buffer.getFloat(); ascentMeters = buffer.getFloat(); descentMeters = buffer.getFloat(); - maxAltitude = buffer.getFloat(); minAltitude = buffer.getFloat(); + maxAltitude = buffer.getFloat(); maxLatitude = buffer.getInt(); // format? minLatitude = buffer.getInt(); // format? maxLongitude = buffer.getInt(); // format?