Merge pull request #493 from alpharesearch/edge

If variable spindle is defined print S value via $G command.
This commit is contained in:
Sonny Jeon 2014-09-20 08:50:52 -06:00
commit d630d4a4cc

View File

@ -330,6 +330,11 @@ void report_gcode_modes()
printPgmString(PSTR(" F")); printPgmString(PSTR(" F"));
printFloat_RateValue(gc_state.feed_rate); printFloat_RateValue(gc_state.feed_rate);
#ifdef VARIABLE_SPINDLE
printPgmString(PSTR(" S"));
printFloat_RateValue(gc_state.spindle_speed);
#endif
printPgmString(PSTR("]\r\n")); printPgmString(PSTR("]\r\n"));
} }