From 1326eb4ef72c4569aefddc7f82863a7dedc1c0be Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 8 Jan 2018 18:48:19 -0600 Subject: [PATCH] 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); ^ --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 6182b4731..acd21369f 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -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);