Merge pull request #4090 from gudnimg/PFW-1509
PFW-1509 Fix an issue with unload when nozzle is cold
This commit is contained in:
commit
fd0e4ee605
|
|
@ -1893,7 +1893,9 @@ void mFilamentItem(uint16_t nTemp, uint16_t nTempBed)
|
||||||
|
|
||||||
lcd_timeoutToStatus.stop();
|
lcd_timeoutToStatus.stop();
|
||||||
|
|
||||||
if (abs((int)current_temperature[0] - nTemp) > TEMP_HYSTERESIS)
|
// the current temperature is within +-TEMP_HYSTERESIS of the target
|
||||||
|
// then continue with the filament action if any is set
|
||||||
|
if (abs((int)current_temperature[0] - nTemp) < TEMP_HYSTERESIS)
|
||||||
{
|
{
|
||||||
switch (eFilamentAction)
|
switch (eFilamentAction)
|
||||||
{
|
{
|
||||||
|
|
@ -1956,7 +1958,7 @@ void mFilamentItem(uint16_t nTemp, uint16_t nTempBed)
|
||||||
if (bFilamentWaitingFlag) Sound_MakeSound(e_SOUND_TYPE_StandardPrompt);
|
if (bFilamentWaitingFlag) Sound_MakeSound(e_SOUND_TYPE_StandardPrompt);
|
||||||
bFilamentWaitingFlag = false;
|
bFilamentWaitingFlag = false;
|
||||||
}
|
}
|
||||||
else
|
else // still preheating, continue updating LCD UI
|
||||||
{
|
{
|
||||||
if (!bFilamentWaitingFlag || lcd_draw_update)
|
if (!bFilamentWaitingFlag || lcd_draw_update)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue