🚸 M115 spindle/laser (#24681, #24747)

This commit is contained in:
Gurmeet Athwal 2022-09-10 00:51:19 +05:30 committed by Scott Lahteine
parent 9d9f303c5e
commit 53564fb6f3
1 changed files with 7 additions and 0 deletions

View File

@ -130,6 +130,13 @@ void GcodeSuite::M115() {
cap_line(F("TOGGLE_LIGHTS"), ENABLED(CASE_LIGHT_ENABLE));
cap_line(F("CASE_LIGHT_BRIGHTNESS"), TERN0(CASE_LIGHT_ENABLE, caselight.has_brightness()));
// SPINDLE AND LASER CONTROL (M3, M4, M5)
#if ENABLED(SPINDLE_FEATURE)
cap_line(F("SPINDLE"), true);
#elif ENABLED(LASER_FEATURE)
cap_line(F("LASER"), true);
#endif
// EMERGENCY_PARSER (M108, M112, M410, M876)
cap_line(F("EMERGENCY_PARSER"), ENABLED(EMERGENCY_PARSER));