Bed Auto Leveling feature
Check the Readme for instruction how to enable and configure the feature
This commit is contained in:
		@@ -44,9 +44,9 @@
 | 
			
		||||
  #define REV_E_DIR() WRITE(E0_DIR_PIN, INVERT_E0_DIR)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
 | 
			
		||||
extern bool abort_on_endstop_hit;
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
 | 
			
		||||
extern bool abort_on_endstop_hit;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Initialize and start the stepper motor subsystem
 | 
			
		||||
void st_init();
 | 
			
		||||
@@ -61,6 +61,11 @@ void st_set_e_position(const long &e);
 | 
			
		||||
// Get current position in steps
 | 
			
		||||
long st_get_position(uint8_t axis);
 | 
			
		||||
 | 
			
		||||
#ifdef ENABLE_AUTO_BED_LEVELING
 | 
			
		||||
// Get current position in mm
 | 
			
		||||
float st_get_position_mm(uint8_t axis);
 | 
			
		||||
#endif  //ENABLE_AUTO_BED_LEVELING
 | 
			
		||||
 | 
			
		||||
// The stepper subsystem goes to sleep when it runs out of things to execute. Call this
 | 
			
		||||
// to notify the subsystem that it is time to go to work.
 | 
			
		||||
void st_wake_up();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user