Browse Source

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

FB4S_WIFI^2^2
Gurmeet Athwal 2 years ago
committed by Scott Lahteine
parent
commit
53564fb6f3
  1. 7
      Marlin/src/gcode/host/M115.cpp

7
Marlin/src/gcode/host/M115.cpp

@ -130,6 +130,13 @@ void GcodeSuite::M115() {
cap_line(F("TOGGLE_LIGHTS"), ENABLED(CASE_LIGHT_ENABLE)); cap_line(F("TOGGLE_LIGHTS"), ENABLED(CASE_LIGHT_ENABLE));
cap_line(F("CASE_LIGHT_BRIGHTNESS"), TERN0(CASE_LIGHT_ENABLE, caselight.has_brightness())); 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) // EMERGENCY_PARSER (M108, M112, M410, M876)
cap_line(F("EMERGENCY_PARSER"), ENABLED(EMERGENCY_PARSER)); cap_line(F("EMERGENCY_PARSER"), ENABLED(EMERGENCY_PARSER));

Loading…
Cancel
Save