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:
parent
e62cbf497a
commit
772d5b9d30
@ -95,7 +95,7 @@ static volatile uint8_t led_timeout = 0;
|
|||||||
*/
|
*/
|
||||||
#define TEMP_MIN (270 << 6) /*!< ~20°C, approx ADC reading */
|
#define TEMP_MIN (270 << 6) /*!< ~20°C, approx ADC reading */
|
||||||
#define TEMP_MAX (300 << 6) /*!< ~30°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 */
|
#define FAN_PWM_MAX (255) /*!< Maximum PWM value */
|
||||||
/*! Fan kick-start timeout */
|
/*! Fan kick-start timeout */
|
||||||
static volatile uint8_t fan_timeout = 0;
|
static volatile uint8_t fan_timeout = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user