[1.1.x] Add new capability to report if Thermal Protection is enabled (#10465)

This commit is contained in:
Sebastien Andrivet 2018-04-20 23:42:56 +02:00 committed by Scott Lahteine
parent dcb8af0518
commit 4cc2bc1343

View File

@ -8783,6 +8783,13 @@ inline void gcode_M115() {
#endif
);
// THERMAL_PROTECTION
cap_line(PSTR("THERMAL_PROTECTION")
#if ENABLED(THERMAL_PROTECTION_HOTENDS) && ENABLED(THERMAL_PROTECTION_BED)
, true
#endif
);
#endif // EXTENDED_CAPABILITIES_REPORT
}