fix
parent
1f613b91bc
commit
cdfbc3f344
|
@ -47,6 +47,7 @@ volatile sig_atomic_t flag = 1;
|
||||||
// 0 | T_MIN T_MAX max[TEMP], celsius
|
// 0 | T_MIN T_MAX max[TEMP], celsius
|
||||||
|
|
||||||
float calcPower(int temperature) {
|
float calcPower(int temperature) {
|
||||||
|
float value = 0.0f;
|
||||||
if (temperature < T_MIN) {
|
if (temperature < T_MIN) {
|
||||||
value = 0.0f;
|
value = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue