|
@@ -500,7 +500,7 @@ void setup_filrunoutpin() {
|
500
|
500
|
#if HAS_FILRUNOUT
|
501
|
501
|
pinMode(FILRUNOUT_PIN, INPUT);
|
502
|
502
|
#ifdef ENDSTOPPULLUP_FIL_RUNOUT
|
503
|
|
- WRITE(FILLRUNOUT_PIN, HIGH);
|
|
503
|
+ WRITE(FILRUNOUT_PIN, HIGH);
|
504
|
504
|
#endif
|
505
|
505
|
#endif
|
506
|
506
|
}
|
|
@@ -5975,7 +5975,7 @@ void disable_all_steppers() {
|
5975
|
5975
|
void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
5976
|
5976
|
|
5977
|
5977
|
#if HAS_FILRUNOUT
|
5978
|
|
- if (card.sdprinting && !(READ(FILRUNOUT_PIN) ^ FIL_RUNOUT_INVERTING))
|
|
5978
|
+ if (IS_SD_PRINTING && !(READ(FILRUNOUT_PIN) ^ FIL_RUNOUT_INVERTING))
|
5979
|
5979
|
filrunout();
|
5980
|
5980
|
#endif
|
5981
|
5981
|
|