Improve FILAMENT_RUNOUT_SENSOR, FILRUNOUT_PIN

This commit is contained in:
Scott Lahteine committed 2016-06-19 18:13:33 -07:00
1 parent 43ec24158e
commit add0032820
4 files changed
+26 -11

No files matched your search

+11
View File
@@ -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
*/