eliminated an abstraction violation where motion_control needed position information from the planner (untested)

This commit is contained in:
Simen Svale Skogsrud
2011-02-11 23:01:16 +01:00
parent 3b51a4b81e
commit 33f014aa74
5 changed files with 9 additions and 16 deletions

View File

@ -412,7 +412,3 @@ void plan_buffer_line(double x, double y, double z, double feed_rate, int invert
st_wake_up();
}
void plan_get_position_steps(int32_t (*vector)[3]) {
memcpy(vector, position, sizeof(position)); // vector[] = position[]
}