Browse Source

Fix M115 cap with EXTRUDERS == 0 (#16459)

pull/1/head
Jamie 5 years ago
committed by Scott Lahteine
parent
commit
022b6b9067
  1. 2
      Marlin/src/gcode/host/M115.cpp

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

@ -152,7 +152,7 @@ void GcodeSuite::M115() {
// THERMAL_PROTECTION
cap_line(PSTR("THERMAL_PROTECTION")
#if ENABLED(THERMAL_PROTECTION_HOTENDS) && (ENABLED(THERMAL_PROTECTION_BED) || !HAS_HEATED_BED) && (ENABLED(THERMAL_PROTECTION_CHAMBER) || !HAS_HEATED_CHAMBER)
#if (ENABLED(THERMAL_PROTECTION_HOTENDS) || !EXTRUDERS) && (ENABLED(THERMAL_PROTECTION_BED) || !HAS_HEATED_BED) && (ENABLED(THERMAL_PROTECTION_CHAMBER) || !HAS_HEATED_CHAMBER)
, true
#endif
);

Loading…
Cancel
Save