Merge pull request #9103 from zarthcode/patch-2

fix fwretract structure reference #9102
This commit is contained in:
Scott Lahteine 2018-01-08 19:27:18 -06:00 committed by GitHub
commit 97b6eabe0c
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 ENABLED(FWRETRACT)
// If retracted before goto pause // If retracted before goto pause
if (fwretract.retracted[active_extruder]) 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 #else
// If resume_position negative // If resume_position negative
if (resume_position[E_AXIS] < 0) do_pause_e_move(resume_position[E_AXIS], PAUSE_PARK_RETRACT_FEEDRATE); if (resume_position[E_AXIS] < 0) do_pause_e_move(resume_position[E_AXIS], PAUSE_PARK_RETRACT_FEEDRATE);