Merge pull request #5191 from petrzjunior/const

Replace const bool with #define for consistency
This commit is contained in:
Scott Lahteine
2016-11-17 03:37:32 -06:00
committed by GitHub
23 changed files with 23 additions and 23 deletions

View File

@@ -9602,7 +9602,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