Re-Arm bugfixes (#7495)

* UBL_correction

* RGB Map function
This commit is contained in:
Tannoo
2017-08-13 08:50:12 -06:00
committed by Scott Lahteine
parent 622b80974c
commit 859fa35287
3 changed files with 29 additions and 14 deletions

View File

@@ -134,14 +134,14 @@
extern char lcd_status_message[];
#endif
extern float destination[XYZE];
void set_destination_to_current();
extern void set_destination_to_current() { COPY(destination, current_position); }
void prepare_move_to_destination();
#if AVR_AT90USB1286_FAMILY // Teensyduino & Printrboard IDE extensions have compile errors without this
inline void sync_plan_position_e() { planner.set_e_position_mm(current_position[E_AXIS]); }
inline void set_current_to_destination() { COPY(current_position, destination); }
#else
void sync_plan_position_e();
void set_current_to_destination();
extern void sync_plan_position_e() { planner.set_e_position_mm(current_position[E_AXIS]); }
extern void set_current_to_destination() { COPY(current_position, destination); }
#endif
#if ENABLED(NEWPANEL)
void lcd_setstatusPGM(const char* const message, const int8_t level);