1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 12:26:48 +01:00

Fossil Hybrid HR: use highest bit of step data also

Confirmed with 144 steps per minute while running, would not have worked with previous fix
This commit is contained in:
Andreas Shimokawa 2020-05-06 14:54:52 +02:00
parent 748a62c2bd
commit 3bf8fb5e9d
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
* Add support for Amazfit GTR Lite (untested and incomplete)
* Fossil Hybrid HR: Fix some issues with custon widgets
* Fossil Hybrid HR: Allow setting alarm titles and descriptions
* Fossil Hybrid HR: Fix step data parsing
* Amazfit GTS: Fix setting menu items with low MTU
* Amazfit GTR: Allow setting menu itdem like GTS
* ZeTime: Support setting the watch language

View File

@ -115,7 +115,7 @@ public class ActivityFileParser {
currentSample.variability |= (higher >> 2) & 0b111111;
}
}else{
currentSample.stepCount = lower & 0b1111110;
currentSample.stepCount = lower & 0b11111110;
currentSample.variability = (int) higher * (int) higher * 64;
currentSample.maxVariability = 10000;
}