Enable runout sensor in EEPROM by default (#14771)

This commit is contained in:
InsanityAutomation 2019-07-30 06:01:56 -04:00 committed by Scott Lahteine
parent bc58e678bd
commit 0b154c2d71

View file

@ -574,7 +574,7 @@ void MarlinSettings::postprocess() {
#if HAS_FILAMENT_SENSOR #if HAS_FILAMENT_SENSOR
const bool &runout_sensor_enabled = runout.enabled; const bool &runout_sensor_enabled = runout.enabled;
#else #else
const bool runout_sensor_enabled = false; const bool runout_sensor_enabled = true;
#endif #endif
#if HAS_FILAMENT_SENSOR && defined(FILAMENT_RUNOUT_DISTANCE_MM) #if HAS_FILAMENT_SENSOR && defined(FILAMENT_RUNOUT_DISTANCE_MM)
const float &runout_distance_mm = runout.runout_distance(); const float &runout_distance_mm = runout.runout_distance();