Revert "HeaterCheck is now only displayed one single time at startup"
This reverts commit 8aa79ade6a
.
This commit is contained in:
@@ -250,7 +250,6 @@ void AnycubicTouchscreenClass::Setup()
|
||||
#endif
|
||||
|
||||
setup_OutageTestPin();
|
||||
CheckHeaterError();
|
||||
}
|
||||
|
||||
#if ENABLED(KNUTWURST_MEGA_P_LASER)
|
||||
@@ -1288,6 +1287,9 @@ void AnycubicTouchscreenClass::CheckHeaterError()
|
||||
{
|
||||
if ((thermalManager.degHotend(0) < 5) || (thermalManager.degHotend(0) > 300))
|
||||
{
|
||||
if (HeaterCheckCount > 60000)
|
||||
{
|
||||
HeaterCheckCount = 0;
|
||||
#ifndef ANYCUBIC_TFT_DEBUG
|
||||
HARDWARE_SERIAL_PROTOCOLPGM("J10"); // J10 Hotend temperature abnormal
|
||||
HARDWARE_SERIAL_ENTER();
|
||||
@@ -1295,6 +1297,11 @@ void AnycubicTouchscreenClass::CheckHeaterError()
|
||||
#ifdef ANYCUBIC_TFT_DEBUG
|
||||
SERIAL_ECHOLNPGM("TFT Serial Debug: Hotend temperature abnormal... J20");
|
||||
#endif
|
||||
} else {
|
||||
HeaterCheckCount++;
|
||||
}
|
||||
} else {
|
||||
HeaterCheckCount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2438,6 +2445,7 @@ SERIAL_PROTOCOLLN(cvalue);
|
||||
|
||||
void AnycubicTouchscreenClass::CommandScan()
|
||||
{
|
||||
CheckHeaterError();
|
||||
CheckSDCardChange();
|
||||
StateHandler();
|
||||
|
||||
|
Reference in New Issue
Block a user