mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 23:30:16 +00:00
Merge pull request #2230 from AnHardt/psm
Fix thermal protection state machine target temp. V2
This commit is contained in:
commit
163a9ff58e
@ -1042,7 +1042,6 @@ void tp_init() {
|
|||||||
case TRReset:
|
case TRReset:
|
||||||
*timer = 0;
|
*timer = 0;
|
||||||
*state = TRInactive;
|
*state = TRInactive;
|
||||||
break;
|
|
||||||
// Inactive state waits for a target temperature to be set
|
// Inactive state waits for a target temperature to be set
|
||||||
case TRInactive:
|
case TRInactive:
|
||||||
if (target_temperature > 0) {
|
if (target_temperature > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user