Fix firmware-retract compile errors (#12061)

This commit is contained in:
InsanityAutomation
2018-10-10 17:46:08 -04:00
committed by Scott Lahteine
parent 43940d59ed
commit d332fcb8fa
2 changed files with 11 additions and 6 deletions

View File

@ -60,7 +60,9 @@ float FWRetract::current_retract[EXTRUDERS], // Retract value used by p
FWRetract::current_hop;
void FWRetract::reset() {
autoretract_enabled = false;
#if ENABLED(FWRETRACT_AUTORETRACT)
autoretract_enabled = false;
#endif
settings.retract_length = RETRACT_LENGTH;
settings.retract_feedrate_mm_s = RETRACT_FEEDRATE;
settings.retract_zlift = RETRACT_ZLIFT;