fix
This commit is contained in:
@@ -60,11 +60,10 @@ float calcPower(int temperature) {
|
||||
if (temperature > T_MAX) {
|
||||
value = 1.0f;
|
||||
}
|
||||
if !(INVERT_CONTROL_CURVE) {
|
||||
return value;
|
||||
}
|
||||
else {
|
||||
if INVERT_CONTROL_CURVE {
|
||||
return (1.0f-value);
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user