From 95e7cda9dbb95604ba9198e816d23a8dcaf67b2c Mon Sep 17 00:00:00 2001 From: Michael Moon Date: Mon, 4 Apr 2011 09:14:22 +1000 Subject: [PATCH] avoid warning: 'SpecialMoveE' defined but not used --- gcode_process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcode_process.c b/gcode_process.c index 5f2825d..799b970 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -60,6 +60,7 @@ static void zero_z(void) { enqueue(&t); } +#if E_STARTSTOP_STEPS > 0 /// move E by a certain amount at a certain speed static void SpecialMoveE(int32_t e, uint32_t f) { TARGET t = startpoint; @@ -67,6 +68,7 @@ static void SpecialMoveE(int32_t e, uint32_t f) { t.F = f; enqueue(&t); } +#endif /* E_STARTSTOP_STEPS > 0 */ /************************************************************************//**