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
           SERIAL_ECHOLNPGM(MSG_ERR_COLD_EXTRUDE_STOP);
11847
           SERIAL_ECHOLNPGM(MSG_ERR_COLD_EXTRUDE_STOP);
11848
         }
11848
         }
11849
         #if ENABLED(PREVENT_LENGTHY_EXTRUDE)
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
             current_position[E_AXIS] = destination[E_AXIS]; // Behave as if the move really took place, but ignore E part
11851
             current_position[E_AXIS] = destination[E_AXIS]; // Behave as if the move really took place, but ignore E part
11852
             SERIAL_ECHO_START();
11852
             SERIAL_ECHO_START();
11853
             SERIAL_ECHOLNPGM(MSG_ERR_LONG_EXTRUDE_STOP);
11853
             SERIAL_ECHOLNPGM(MSG_ERR_LONG_EXTRUDE_STOP);

Loading…
Cancel
Save