File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -464,10 +464,8 @@ void SS2K::moveStepper() {
464464 } else {
465465 int actualDelta = rtConfig->resistance .getTarget () - rtConfig->resistance .getValue ();
466466 int direction = (actualDelta > 0 ) ? 1 : -1 ;
467- if (abs (actualDelta) > 25 ) {
467+ if (abs (actualDelta) > 20 - userConfig-> getERGSensitivity () ) {
468468 rtConfig->setTargetIncline (ss2k->getCurrentPosition () + userConfig->getShiftStep () * direction);
469- } else if (abs (actualDelta) > 12 ) {
470- rtConfig->setTargetIncline (ss2k->getCurrentPosition () + (userConfig->getERGSensitivity () * actualDelta));
471469 } else if (abs (actualDelta) > 3 ) {
472470 rtConfig->setTargetIncline (ss2k->getCurrentPosition () + actualDelta + (userConfig->getERGSensitivity () * direction));
473471 } else {
You can’t perform that action at this time.
0 commit comments