This commit is contained in:
Max Prokhorov
2020-08-30 14:24:38 +03:00
committed by GitHub
parent d329e432da
commit 7d2689b80c
+1 -1
View File
@@ -223,7 +223,7 @@ bool P005_do_plugin_read(struct EventStruct *event) {
break;
}
if (isnan(NAN) || isnan(humidity))
if (isnan(temperature) || isnan(humidity))
{ P005_log(event, P005_error_invalid_NAN_reading);
return false;
}