clean input command queue when thermal_runaway occurs
This commit is contained in:
parent
2b54e4ae4b
commit
550542e330
|
|
@ -1227,6 +1227,9 @@ void temp_runaway_stop(bool isPreheat, bool isBed)
|
||||||
card.sdprinting = false;
|
card.sdprinting = false;
|
||||||
card.closefile();
|
card.closefile();
|
||||||
}
|
}
|
||||||
|
// Clean the input command queue
|
||||||
|
// This is necessary, because in command queue there can be commands which would later set heater or bed temperature.
|
||||||
|
cmdqueue_reset();
|
||||||
|
|
||||||
disable_heater();
|
disable_heater();
|
||||||
disable_x();
|
disable_x();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue