[2.0.x] Enhancements to FILAMENT_RUNOUT_SENSOR (#12069)
- Added FILAMENT_RUNOUT_DISTANCE_MM option - Added FILAMENT_MOTION_SENSOR option
This commit is contained in:
committed by
Scott Lahteine
parent
cce4931342
commit
056561df93
@ -109,6 +109,16 @@ namespace UI {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||
bool isFilamentRunoutEnabled();
|
||||
void toggleFilamentRunout(const bool state);
|
||||
|
||||
#if FILAMENT_RUNOUT_DISTANCE_MM > 0
|
||||
float getFilamentRunoutDistance_mm();
|
||||
void setFilamentRunoutDistance_mm(const float distance);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void delay_ms(unsigned long ms);
|
||||
void yield(); // Within lengthy loop, call this periodically
|
||||
|
||||
|
Reference in New Issue
Block a user