Browse Source

Merge pull request #7201 from Bob-the-Kuhn/intermittent_Teensy2++_G26_compile_issue

intermittent AT90USB & G26 compile problem (proposal)
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
009a6104c5
  1. 3
      Marlin/G26_Mesh_Validation_Tool.cpp
  2. 7
      Marlin/ubl_motion.cpp

3
Marlin/G26_Mesh_Validation_Tool.cpp

@ -135,12 +135,13 @@
#endif
extern float destination[XYZE];
void set_destination_to_current();
void set_current_to_destination();
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();
#endif
#if ENABLED(NEWPANEL)
void lcd_setstatusPGM(const char* const message, const int8_t level);

7
Marlin/ubl_motion.cpp

@ -31,7 +31,12 @@
#include <math.h>
extern float destination[XYZE];
extern void set_current_to_destination();
#if AVR_AT90USB1286_FAMILY // Teensyduino & Printrboard IDE extensions have compile errors without this
inline void set_current_to_destination() { COPY(current_position, destination); }
#else
extern void set_current_to_destination();
#endif
#if ENABLED(DELTA)

Loading…
Cancel
Save