Bed Auto Leveling feature
Check the Readme for instruction how to enable and configure the feature
This commit is contained in:
parent
1bda6bf862
commit
253dfc4bc1
12 changed files with 806 additions and 4 deletions
|
|
@ -969,6 +969,14 @@ long st_get_position(uint8_t axis)
|
|||
return count_pos;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_AUTO_BED_LEVELING
|
||||
float st_get_position_mm(uint8_t axis)
|
||||
{
|
||||
float steper_position_in_steps = st_get_position(axis);
|
||||
return steper_position_in_steps / axis_steps_per_unit[axis];
|
||||
}
|
||||
#endif // ENABLE_AUTO_BED_LEVELING
|
||||
|
||||
void finishAndDisableSteppers()
|
||||
{
|
||||
st_synchronize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue