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:
|
||||
*timer = 0;
|
||||
*state = TRInactive;
|
||||
break;
|
||||
// Inactive state waits for a target temperature to be set
|
||||
case TRInactive:
|
||||
if (target_temperature > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user