fix fwretract structure reference #9102

Marlin_main.cpp: In function 'void resume_print(const float&, const float&, int8_t)':

Marlin_main.cpp:6646: error: 'retract_length' was not declared in this scope
         do_pause_e_move(-retract_length, fwretract.retract_feedrate_mm_s);
                          ^
This commit is contained in:
Anthony 2018-01-08 18:48:19 -06:00 committed by GitHub
parent 0eee55c0dd
commit 1326eb4ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6633,7 +6633,7 @@ inline void gcode_M17() {
#if ENABLED(FWRETRACT)
// If retracted before goto pause
if (fwretract.retracted[active_extruder])
do_pause_e_move(-retract_length, fwretract.retract_feedrate_mm_s);
do_pause_e_move(-fwretract.retract_length, fwretract.retract_feedrate_mm_s);
#else
// If resume_position negative
if (resume_position[E_AXIS] < 0) do_pause_e_move(resume_position[E_AXIS], PAUSE_PARK_RETRACT_FEEDRATE);