🚸 M115 spindle/laser (#24681)

This commit is contained in:
Gurmeet Athwal 2022-09-10 00:51:19 +05:30 committed by GitHub
parent dc0b490bf0
commit 25736abc0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(SPINDLE_FEATURE)
cap_line(F("LASER"), true);
#endif
// EMERGENCY_PARSER (M108, M112, M410, M876)
cap_line(F("EMERGENCY_PARSER"), ENABLED(EMERGENCY_PARSER));