Add support for disabling encoder control for feedrate multiplier
Signed-off-by: Matthew Schick <matthew.schick@gmail.com>
This commit is contained in:
parent
040357fd1b
commit
6cd85e6008
2 changed files with 7 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ static void lcd_status_screen()
|
|||
lcd_quick_feedback();
|
||||
}
|
||||
|
||||
#ifdef ULTIPANEL_FEEDMULTIPLY
|
||||
// Dead zone at 100% feedrate
|
||||
if ((feedmultiply < 100 && (feedmultiply + int(encoderPosition)) > 100) ||
|
||||
(feedmultiply > 100 && (feedmultiply + int(encoderPosition)) < 100))
|
||||
|
|
@ -219,6 +220,7 @@ static void lcd_status_screen()
|
|||
feedmultiply += int(encoderPosition);
|
||||
encoderPosition = 0;
|
||||
}
|
||||
#endif//ULTIPANEL_FEEDMULTIPLY
|
||||
|
||||
if (feedmultiply < 10)
|
||||
feedmultiply = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue