Use st_get_position_mm where possible (PR#2411)

This commit is contained in:
Scott Lahteine authored and Richard Wackerbarth committed 2015-07-12 22:15:54 -05:00
1 parent 2e0da8abdc
commit 87a872e103
3 files changed
+7 -15

No files matched your search

+1 -7
View File
@@ -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();