Merge pull request #2230 from AnHardt/psm
Fix thermal protection state machine target temp. V2
This commit is contained in:
commit
163a9ff58e
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Reference in a new issue