mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-23 18:36:50 +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:
parent
748a62c2bd
commit
3bf8fb5e9d
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user