From fd0db24199738a0a0dfac9ddf03acee521f18896 Mon Sep 17 00:00:00 2001 From: Markus Schulz Date: Wed, 17 Sep 2014 18:56:25 -0400 Subject: [PATCH] If variable spindle is defined print S value via $G command. --- report.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/report.c b/report.c index 32720eb..92033b3 100644 --- a/report.c +++ b/report.c @@ -330,6 +330,11 @@ void report_gcode_modes() printPgmString(PSTR(" F")); printFloat_RateValue(gc_state.feed_rate); + + #ifdef VARIABLE_SPINDLE + printPgmString(PSTR(" S")); + printFloat_RateValue(gc_state.spindle_speed); + #endif printPgmString(PSTR("]\r\n")); }