diff options
author | Manuel <manuel.coenen@gmail.com> | 2018-08-07 17:39:37 +0300 |
---|---|---|
committer | dc42 <dcrocker@eschertech.com> | 2018-08-07 17:39:37 +0300 |
commit | 289007e94d963b140833e835dc4e062f2ce22389 (patch) | |
tree | dae105b27602c63019940118e5fc0d4b5e737921 /src/Fans/Fan.h | |
parent | ddd7bbd14bff7747633a85b6652fadea2a59b429 (diff) |
Add a maximum fan speed parameter and enforce it (#179)
Diffstat (limited to 'src/Fans/Fan.h')
-rw-r--r-- | src/Fans/Fan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fans/Fan.h b/src/Fans/Fan.h index 371b1264..c969a5dd 100644 --- a/src/Fans/Fan.h +++ b/src/Fans/Fan.h @@ -44,6 +44,7 @@ private: float val; float lastVal; float minVal; + float maxVal; float triggerTemperatures[2]; float lastPwm; uint32_t blipTime; // in milliseconds |