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;