L_DelOff 2024-03-03 13:44:56 +03:00
parent 1f613b91bc
commit cdfbc3f344
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ volatile sig_atomic_t flag = 1;
// 0 | T_MIN T_MAX max[TEMP], celsius
float calcPower(int temperature) {
float value = 0.0f;
if (temperature < T_MIN) {
value = 0.0f;
}