Fix st_get_position_mm

call it, do not index function pointer
This commit is contained in:
Petr Ledvina 2018-07-17 18:53:15 +02:00
parent 48d6ebffd8
commit 33bf363798

View file

@ -9069,7 +9069,7 @@ void print_world_coordinates()
void print_physical_coordinates()
{
printf_P(_N("physical coordinates: (%.3f, %.3f, %.3f)\n"), st_get_position_mm[X_AXIS], st_get_position_mm[Y_AXIS], st_get_position_mm[Z_AXIS]);
printf_P(_N("physical coordinates: (%.3f, %.3f, %.3f)\n"), st_get_position_mm(X_AXIS), st_get_position_mm(Y_AXIS), st_get_position_mm(Z_AXIS));
}
void print_mesh_bed_leveling_table()