fix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user