Replace const bool with #define for consistency
This commit is contained in:
committed by
Petr Zahradník
parent
06f2282f82
commit
d7ce5d271b
@@ -9488,7 +9488,7 @@ void disable_all_steppers() {
|
||||
void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
||||
|
||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||
if ((IS_SD_PRINTING || print_job_timer.isRunning()) && !(READ(FIL_RUNOUT_PIN) ^ FIL_RUNOUT_INVERTING))
|
||||
if ((IS_SD_PRINTING || print_job_timer.isRunning()) && (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING))
|
||||
handle_filament_runout();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user