Improve FILAMENT_RUNOUT_SENSOR, FILRUNOUT_PIN
This commit is contained in:
@@ -124,6 +124,17 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Filament Runout needs a pin and SD Support
|
||||
*/
|
||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||
#if !HAS_FILRUNOUT
|
||||
#error "FILAMENT_RUNOUT_SENSOR requires FILRUNOUT_PIN."
|
||||
#elif DISABLED(SDSUPPORT)
|
||||
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Filament Change with Extruder Runout Prevention
|
||||
*/
|
||||
|
Reference in New Issue
Block a user