|
@@ -135,12 +135,13 @@
|
135
|
135
|
#endif
|
136
|
136
|
extern float destination[XYZE];
|
137
|
137
|
void set_destination_to_current();
|
138
|
|
- void set_current_to_destination();
|
139
|
138
|
void prepare_move_to_destination();
|
140
|
139
|
#if AVR_AT90USB1286_FAMILY // Teensyduino & Printrboard IDE extensions have compile errors without this
|
141
|
140
|
inline void sync_plan_position_e() { planner.set_e_position_mm(current_position[E_AXIS]); }
|
|
141
|
+ inline void set_current_to_destination() { COPY(current_position, destination); }
|
142
|
142
|
#else
|
143
|
143
|
void sync_plan_position_e();
|
|
144
|
+ void set_current_to_destination();
|
144
|
145
|
#endif
|
145
|
146
|
#if ENABLED(NEWPANEL)
|
146
|
147
|
void lcd_setstatusPGM(const char* const message, const int8_t level);
|