Merge pull request #5059 from gcormier/fixbaby
Set defer delay back to false when exiting babystepping.
This commit is contained in:
commit
0d3fc7dd89
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ void kill_screen(const char* lcd_msg) {
|
||||||
long babysteps_done = 0;
|
long babysteps_done = 0;
|
||||||
|
|
||||||
static void _lcd_babystep(const AxisEnum axis, const char* msg) {
|
static void _lcd_babystep(const AxisEnum axis, const char* msg) {
|
||||||
if (LCD_CLICKED) { lcd_goto_previous_menu(true); return; }
|
if (LCD_CLICKED) { defer_return_to_status = false; lcd_goto_previous_menu(true); return; }
|
||||||
ENCODER_DIRECTION_NORMAL();
|
ENCODER_DIRECTION_NORMAL();
|
||||||
if (encoderPosition) {
|
if (encoderPosition) {
|
||||||
int babystep_increment = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR;
|
int babystep_increment = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR;
|
||||||
|
|
Reference in a new issue