Skip to content

Commit

Permalink
Fix M115 cap with EXTRUDERS == 0 (#16459)
Browse files Browse the repository at this point in the history
  • Loading branch information
vector76 authored and thinkyhead committed Jan 5, 2020
1 parent fc07b0e commit 022b6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/host/M115.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 022b6b9

Please sign in to comment.