mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
Amazfit T-Rex: Fix activity summary parsing
This commit is contained in:
parent
df11c6e2f4
commit
ad42255ea1
@ -148,6 +148,9 @@ public class HuamiActivitySummaryParser implements ActivitySummaryParser {
|
||||
minHR = buffer.getShort();
|
||||
// hack that skips data on yet unknown summary version 519 data
|
||||
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();
|
||||
activeSeconds = buffer.getInt();
|
||||
|
Loading…
Reference in New Issue
Block a user