Enable runout sensor in EEPROM by default (#14771)
This commit is contained in:
parent
bc58e678bd
commit
0b154c2d71
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user