1
0
mirror of https://github.com/sjlongland/cluster-powerctl.git synced 2025-09-13 12:03:14 +10:00

FAN control: Fine-tune minimum PWM

It appears the minimum PWM is more strongly dependent on battery voltage
than I had planned, it needs to be just a little higher to ensure the
fan keeps turning at low RPM.
This commit is contained in:
Stuart Longland 2016-09-04 06:47:28 +10:00
parent e62cbf497a
commit 772d5b9d30
Signed by: stuartl
GPG Key ID: 4DFA191410BDE3B7

View File

@ -95,7 +95,7 @@ static volatile uint8_t led_timeout = 0;
*/
#define TEMP_MIN (270 << 6) /*!< ~20°C, approx ADC reading */
#define TEMP_MAX (300 << 6) /*!< ~30°C, approx ADC reading */
#define FAN_PWM_MIN (80) /*!< Minimum PWM value */
#define FAN_PWM_MIN (88) /*!< Minimum PWM value */
#define FAN_PWM_MAX (255) /*!< Maximum PWM value */
/*! Fan kick-start timeout */
static volatile uint8_t fan_timeout = 0;