More externs and functions in Marlin.h

This commit is contained in:
Scott Lahteine
2017-12-15 18:18:26 -06:00
parent 4277fcb32c
commit e1b998e40a
4 changed files with 5 additions and 14 deletions

View File

@@ -132,15 +132,11 @@
// External references
extern float feedrate_mm_s; // must set before calling prepare_move_to_destination
extern Planner planner;
#if ENABLED(ULTRA_LCD)
extern char lcd_status_message[];
#endif
void set_destination_from_current();
void prepare_move_to_destination();
inline void sync_plan_position_e() { planner.set_e_position_mm(current_position[E_AXIS]); }
inline void set_current_from_destination() { COPY(current_position, destination); }
// Private functions