Browse Source

fix thermal protection state machine target temp. V2

If the target temperature is changed then it would always stay in the reset state.
Thanks to @tonokip.

Replaces #2119
AnHardt 10 years ago
parent
commit
b1404a0743
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      Marlin/temperature.cpp

+ 0
- 1
Marlin/temperature.cpp View File

1042
       case TRReset:
1042
       case TRReset:
1043
         *timer = 0;
1043
         *timer = 0;
1044
         *state = TRInactive;
1044
         *state = TRInactive;
1045
-        break;
1046
       // Inactive state waits for a target temperature to be set
1045
       // Inactive state waits for a target temperature to be set
1047
       case TRInactive:
1046
       case TRInactive:
1048
         if (target_temperature > 0) {
1047
         if (target_temperature > 0) {

Loading…
Cancel
Save