🚸 Clear "heating/cooling" message on temp reached

This commit is contained in:
Scott Lahteine
2022-03-25 17:35:00 -05:00
parent 8dfdf51678
commit fd742616ba
6 changed files with 29 additions and 4 deletions

View File

@@ -89,6 +89,11 @@ void GcodeSuite::M140_M190(const bool isM190) {
if (isM190)
thermalManager.wait_for_bed(no_wait_for_cooling);
else
ui.set_status_reset_fn([]{
const celsius_t c = thermalManager.degTargetBed();
return c < 30 || thermalManager.degBedNear(c);
});
}
#endif // HAS_HEATED_BED