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