Add HAS_FAST_MOVES

This commit is contained in:
Scott Lahteine
2020-10-04 17:29:12 -05:00
parent d88e694d06
commit 7e0524109e
3 changed files with 10 additions and 22 deletions

View File

@ -44,11 +44,7 @@ extern xyze_pos_t destination;
/**
* G0, G1: Coordinated movement of X Y Z E axes
*/
void GcodeSuite::G0_G1(
#if IS_SCARA || defined(G0_FEEDRATE)
const bool fast_move/*=false*/
#endif
) {
void GcodeSuite::G0_G1(TERN_(HAS_FAST_MOVES, const bool fast_move/*=false*/)) {
if (IsRunning()
#if ENABLED(NO_MOTION_BEFORE_HOMING)