Fix for M504 changing filament runout value (#14661)

Fixes #14476
2.0.x
Marcio Teixeira 5 years ago committed by Scott Lahteine
parent 305f277843
commit 839255eed4

@ -1390,7 +1390,7 @@ void MarlinSettings::postprocess() {
float runout_distance_mm;
EEPROM_READ(runout_distance_mm);
#if HAS_FILAMENT_SENSOR && defined(FILAMENT_RUNOUT_DISTANCE_MM)
runout.set_runout_distance(runout_distance_mm);
if (!validating) runout.set_runout_distance(runout_distance_mm);
#endif
}

Loading…
Cancel
Save