Merge pull request #2230 from AnHardt/psm

Fix thermal protection state machine target temp. V2
This commit is contained in:
AnHardt 2015-06-03 09:46:53 +02:00
commit 163a9ff58e

View File

@ -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) {