From c8659114fe4f491db2d270e2cbf4fb4f47716213 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Tue, 29 Oct 2019 11:08:33 -0500 Subject: [PATCH] Note that _exec_spindle_control() ignores flags --- g2core/spindle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g2core/spindle.cpp b/g2core/spindle.cpp index cbca3cb2..a15ff6c2 100644 --- a/g2core/spindle.cpp +++ b/g2core/spindle.cpp @@ -169,7 +169,7 @@ void spindle_reset() - REVERSE Reverse spindle direction (Q: need a cycle to spin down then back up again?) */ -static void _exec_spindle_control(float *value, bool *flag) +static void _exec_spindle_control(float *value, bool *) { spControl control = (spControl)value[0]; if (control > SPINDLE_ACTION_MAX) {