intermittent Teensy & G26 compile problem

===============================================

also an issue with ubl_motion.cpp
This commit is contained in:
Bob-the-Kuhn
2017-07-01 10:26:57 -05:00
parent 457489d7ac
commit fcceed5be6
2 changed files with 8 additions and 2 deletions

View File

@@ -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)