mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-20 23:57:46 +01:00
bangle.js: normalized activity intensity
This commit is contained in:
parent
c1e0b1fcd5
commit
aad03ddf0e
@ -82,7 +82,7 @@ public class BangleJSSampleProvider extends AbstractSampleProvider<BangleJSActiv
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float normalizeIntensity(int rawIntensity) {
|
public float normalizeIntensity(int rawIntensity) {
|
||||||
return rawIntensity / 256.0f;
|
return rawIntensity / 2048.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user