Use set_destination_to_current instead of memcpy
flash: -14 RAM: 0
This commit is contained in:
parent
7d86a0d121
commit
88e0e33fb2
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ void planner_reset_position()
|
|||
|
||||
// Apply inverse world correction matrix.
|
||||
machine2world(current_position[X_AXIS], current_position[Y_AXIS]);
|
||||
memcpy(destination, current_position, sizeof(destination));
|
||||
set_destination_to_current();
|
||||
#ifdef LIN_ADVANCE
|
||||
memcpy(position_float, current_position, sizeof(position_float));
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue