From 8e65a3f9c609a50c89d1bf8a482cdac0e37a1f71 Mon Sep 17 00:00:00 2001 From: L_DelOff Date: Sun, 3 Mar 2024 13:46:43 +0300 Subject: [PATCH] fix --- pwmfan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwmfan.cpp b/pwmfan.cpp index ee5a8fb..3322528 100644 --- a/pwmfan.cpp +++ b/pwmfan.cpp @@ -60,7 +60,7 @@ float calcPower(int temperature) { if (temperature > T_MAX) { value = 1.0f; } - if INVERT_CONTROL_CURVE { + if (INVERT_CONTROL_CURVE) { return (1.0f-value); } else { return value;