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

This commit is contained in:
Jamie 2020-01-05 01:37:52 -06:00 committed by Scott Lahteine
parent fc07b0ea30
commit 022b6b9067

View File

@ -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
);