Add Heater Error Check.

This commit is contained in:
Knutwurst
2023-05-26 10:08:06 +02:00
parent 4a3071aa56
commit 2b57ebccaa

View File

@@ -213,9 +213,11 @@
setup_OutageTestPin(); setup_OutageTestPin();
setup_PowerOffPin(); setup_PowerOffPin();
SENDLINE_DBG_PGM("J12", "TFT Serial Debug: Ready... J12"); // J12 Ready SENDLINE_DBG_PGM("J12", "TFT Serial Debug: Ready... J12");
CheckHeaterError();
DoFilamentRunoutCheck(); DoFilamentRunoutCheck();
#ifdef STARTUP_CHIME #ifdef STARTUP_CHIME
BUZZ(100, 554); BUZZ(100, 554);
@@ -1122,10 +1124,6 @@
else if (strcmp_P(msg, PSTR("Filament Purging...")) == 0) { else if (strcmp_P(msg, PSTR("Filament Purging...")) == 0) {
mediaPrintingState = AMPRINTSTATE_PAUSED; mediaPrintingState = AMPRINTSTATE_PAUSED;
mediaPauseState = AMPAUSESTATE_FILAMENT_PURGING; mediaPauseState = AMPAUSESTATE_FILAMENT_PURGING;
// TODO: JBA I don't think J05 just disables the continue button, i think it injects a rogue M25. So taking this out
// disable continue button
// SENDLINE_DBG_PGM("J05", "TFT Serial Debug: UserConfirm SD Filament Purging... J05"); // J05 printing pause
// enable continue button // enable continue button
SENDLINE_DBG_PGM("J18", "TFT Serial Debug: UserConfirm Filament is purging... J18"); SENDLINE_DBG_PGM("J18", "TFT Serial Debug: UserConfirm Filament is purging... J18");