Improve FILAMENT_RUNOUT_SENSOR, FILRUNOUT_PIN
This commit is contained in:
parent
43ec24158e
commit
add0032820
4 changed files with 26 additions and 11 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue