Use st_get_position_mm where possible (PR#2411)
This commit is contained in:
1 parent
2e0da8abdc
commit
87a872e103
3 files changed
+7
-15
No files matched your search
+1
-7
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user