If variable spindle is defined print S value via $G command.

This commit is contained in:
Markus Schulz 2014-09-17 18:56:25 -04:00
parent 5edf078065
commit fd0db24199

View File

@ -331,6 +331,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"));
}