mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +01:00
Amazfit Bip U: Fix summary data for summery version 519
For now this just skips new, previously unknown data , see #2063
This commit is contained in:
parent
4d47d53a8f
commit
61395b210c
@ -121,6 +121,10 @@ public class HuamiActivitySummaryParser implements ActivitySummaryParser {
|
|||||||
// Bip S now has 518 so assuming 512+x, might be wrong
|
// Bip S now has 518 so assuming 512+x, might be wrong
|
||||||
|
|
||||||
if (version >= 512) {
|
if (version >= 512) {
|
||||||
|
if (version == 519) {
|
||||||
|
// hack that skips data on yet unknown summary version 519 data
|
||||||
|
buffer.position(0x8c);
|
||||||
|
}
|
||||||
steps = buffer.getInt();
|
steps = buffer.getInt();
|
||||||
activeSeconds = buffer.getInt();
|
activeSeconds = buffer.getInt();
|
||||||
//unknown
|
//unknown
|
||||||
|
Loading…
Reference in New Issue
Block a user