mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Amazfit T-Rex: Fix activity summary parsing
This commit is contained in:
@@ -148,6 +148,9 @@ public class HuamiActivitySummaryParser implements ActivitySummaryParser {
|
|||||||
minHR = buffer.getShort();
|
minHR = buffer.getShort();
|
||||||
// hack that skips data on yet unknown summary version 519 data
|
// hack that skips data on yet unknown summary version 519 data
|
||||||
buffer.position(0x8c);
|
buffer.position(0x8c);
|
||||||
|
} else if (version == 516) {
|
||||||
|
// hack that skips data on yet unknown summary version 516 data
|
||||||
|
buffer.position(buffer.position() + 4);
|
||||||
}
|
}
|
||||||
steps = buffer.getInt();
|
steps = buffer.getInt();
|
||||||
activeSeconds = buffer.getInt();
|
activeSeconds = buffer.getInt();
|
||||||
|
Reference in New Issue
Block a user