1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

limit maximum intensity to 180 for now... maybe make this configurable #45

This commit is contained in:
cpfeiffer 2015-07-13 21:55:52 +02:00
parent 04e628b2d1
commit b1e2671bec

View File

@ -154,7 +154,8 @@ public abstract class AbstractChartFragment extends Fragment {
boolean use_steps_as_movement;
switch (getProvider(mGBDevice)) {
case GBActivitySample.PROVIDER_MIBAND:
movement_divisor = 256.0f;
// maybe this should be configurable 256 seems way off, though.
movement_divisor = 180.0f; //256.0f;
use_steps_as_movement = true;
break;
default: // Morpheuz