mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-18 05:17:08 +01:00
Move minHR into version 519 case
This commit is contained in:
parent
2af93eba03
commit
56a552ac44
@ -133,9 +133,9 @@ 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) {
|
||||||
buffer.get(); // skip one byte
|
|
||||||
minHR = buffer.getShort();
|
|
||||||
if (version == 519) {
|
if (version == 519) {
|
||||||
|
buffer.get(); // skip one byte
|
||||||
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user