1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-13 21:49:27 +01:00

Huami; swap min/max pace in parser

This commit is contained in:
Andreas Shimokawa 2020-08-23 00:14:36 +02:00
parent f8d22e9ec7
commit b6abcc8c7b

View File

@ -134,8 +134,8 @@ public class HuamiActivitySummaryParser implements ActivitySummaryParser {
//unknown
buffer.getLong();
buffer.getLong();
maxPace = buffer.getFloat();
minPace = buffer.getFloat();
maxPace = buffer.getFloat();
//unknown
buffer.getLong();
buffer.getLong();
@ -202,8 +202,8 @@ public class HuamiActivitySummaryParser implements ActivitySummaryParser {
activeSeconds = buffer.getInt();
caloriesBurnt = buffer.getFloat();
maxSpeed = buffer.getFloat();
minPace = buffer.getFloat();
maxPace = buffer.getFloat();
minPace = buffer.getFloat();
totalStride = buffer.getFloat();
buffer.getInt(); // unknown