prevent steppers from turning off during manual probes

This commit is contained in:
Roxy-3D 2018-03-09 17:56:00 -07:00 committed by Scott Lahteine
parent 161ff9ff35
commit 26dc594ebb

View file

@ -775,6 +775,7 @@
wait_for_release(); wait_for_release();
while (!is_lcd_clicked()) { while (!is_lcd_clicked()) {
idle(); idle();
gcode.refresh_cmd_timeout();
if (encoder_diff) { if (encoder_diff) {
do_blocking_move_to_z(current_position[Z_AXIS] + float(encoder_diff) * multiplier); do_blocking_move_to_z(current_position[Z_AXIS] + float(encoder_diff) * multiplier);
encoder_diff = 0; encoder_diff = 0;