Skip to content

Commit

Permalink
Set the minimum spindle override to 10%
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Jul 3, 2017
1 parent e6a0345 commit f958c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/controllers/Smoothie/SmoothieController.js
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,8 @@ class SmoothieController {
spindleOverride = 100;
} else if ((spindleOverride + value) > 200) {
spindleOverride = 200;
} else if ((spindleOverride + value) < 0) {
spindleOverride = 0;
} else if ((spindleOverride + value) < 10) {
spindleOverride = 10;
} else {
spindleOverride += value;
}
Expand Down

0 comments on commit f958c1c

Please sign in to comment.