Browse Source

Allow arbitrarily long retraction

Scott Lahteine 8 years ago
parent
commit
09bc34f4dc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -11847,7 +11847,7 @@ void prepare_move_to_destination() {
11847 11847
           SERIAL_ECHOLNPGM(MSG_ERR_COLD_EXTRUDE_STOP);
11848 11848
         }
11849 11849
         #if ENABLED(PREVENT_LENGTHY_EXTRUDE)
11850
-          if (labs(destination[E_AXIS] - current_position[E_AXIS]) > EXTRUDE_MAXLENGTH) {
11850
+          if (destination[E_AXIS] - current_position[E_AXIS] > EXTRUDE_MAXLENGTH) {
11851 11851
             current_position[E_AXIS] = destination[E_AXIS]; // Behave as if the move really took place, but ignore E part
11852 11852
             SERIAL_ECHO_START();
11853 11853
             SERIAL_ECHOLNPGM(MSG_ERR_LONG_EXTRUDE_STOP);

Loading…
Cancel
Save