L_DelOff 2024-03-03 13:45:47 +03:00
parent cdfbc3f344
commit 7b5205d8c3
1 changed files with 3 additions and 4 deletions

View File

@ -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;
}
}