From 4d95248f1631e5691e7a161c32ff1fd2ebdff75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Kristan?= Date: Mon, 4 Oct 2021 11:49:47 +0200 Subject: [PATCH] PWM fan startup speed bugfix. --- usermods/PWM_fan/usermod_PWM_fan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usermods/PWM_fan/usermod_PWM_fan.h b/usermods/PWM_fan/usermod_PWM_fan.h index 4d4cdb35..a857979d 100644 --- a/usermods/PWM_fan/usermod_PWM_fan.h +++ b/usermods/PWM_fan/usermod_PWM_fan.h @@ -180,7 +180,7 @@ class PWMFanUsermod : public Usermod { #endif initTacho(); initPWMfan(); - updateFanSpeed(pwmMinimumValue); + updateFanSpeed((minPWMValuePct * 255) / 100); initDone = true; }