|
@@ -901,7 +901,7 @@ void lcd_cooldown() {
|
901
|
901
|
ENCODER_DIRECTION_NORMAL();
|
902
|
902
|
|
903
|
903
|
// Encoder wheel adjusts the Z position
|
904
|
|
- if (encoderPosition != 0 && movesplanned() <= 3) {
|
|
904
|
+ if (encoderPosition && movesplanned() <= 3) {
|
905
|
905
|
refresh_cmd_timeout();
|
906
|
906
|
current_position[Z_AXIS] += float((int)encoderPosition) * (MBL_Z_STEP);
|
907
|
907
|
if (min_software_endstops) NOLESS(current_position[Z_AXIS], Z_MIN_POS);
|