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
1 changed files with 2 additions and 1 deletions

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