|
|
@ -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();
|
|
|
|