Runout sensor without SD Card

This commit is contained in:
Petr Zahradník junior
2016-07-08 15:00:39 +02:00
committed by Scott Lahteine
parent 51c9c3fe2c
commit 315b4c2153
2 changed files with 21 additions and 10 deletions

View File

@ -111,12 +111,12 @@
#endif
/**
* Filament Runout needs a pin and SD Support
* Filament Runout needs a pin and either SD Support or Auto print start detection
*/
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#if !HAS_FIL_RUNOUT
#error "FILAMENT_RUNOUT_SENSOR requires FIL_RUNOUT_PIN."
#elif DISABLED(SDSUPPORT)
#elif DISABLED(SDSUPPORT) && DISABLED(PRINTJOB_TIMER_AUTOSTART)
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT."
#endif
#endif