Commit 20199df
committed
in the Compute() function, timeChange is now declared as "unsigned long"
formerly, if left in manual mode for a long time (e.g. during an autotune,)
the "int" timeChange would wrap causeing the PID not to calculate for an
unacceptable period of time.1 parent 98d2779 commit 20199df
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments