Use st_get_position_mm where possible (PR#2411)
This commit is contained in:
parent
2e0da8abdc
commit
87a872e103
3 changed files with 7 additions and 15 deletions
|
|
@ -1073,13 +1073,7 @@ long st_get_position(uint8_t axis) {
|
|||
return count_pos;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_AUTO_BED_LEVELING
|
||||
|
||||
float st_get_position_mm(AxisEnum axis) {
|
||||
return st_get_position(axis) / axis_steps_per_unit[axis];
|
||||
}
|
||||
|
||||
#endif // ENABLE_AUTO_BED_LEVELING
|
||||
float st_get_position_mm(AxisEnum axis) { return st_get_position(axis) / axis_steps_per_unit[axis]; }
|
||||
|
||||
void finishAndDisableSteppers() {
|
||||
st_synchronize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue