global: remove timers

This commit is contained in:
Vasily Davydov
2022-10-24 15:24:34 +03:00
parent 84e50cdec7
commit 9608200f91
11 changed files with 149 additions and 185 deletions

View File

@@ -122,7 +122,7 @@ private:
* weigh of fan, so voltage within range of 0-89 is not
* sufficient to start motor.
* TODO: Value 89 should be scaled to 0 at some point */
Counter fan_speed = { 20, 1000 };
Counter fan_speed = { 80, 1000 };
/*integral controller for PID. should be global, since it
* accumulates error signals encountered since startup*/
int integral = 0;