mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 01:09:47 +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
|
||||
|
||||
if (version >= 512) {
|
||||
if (version == 519) {
|
||||
// hack that skips data on yet unknown summary version 519 data
|
||||
buffer.position(0x8c);
|
||||
}
|
||||
steps = buffer.getInt();
|
||||
activeSeconds = buffer.getInt();
|
||||
//unknown
|
||||
|
Loading…
Reference in New Issue
Block a user