Skip to content

Commit

Permalink
[P039_Thermosensors] Fix check for valid value
Browse files Browse the repository at this point in the history
  • Loading branch information
TD-er authored Oct 3, 2023
1 parent 2a07cca commit d6dc5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_P039_Thermosensors.ino
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ boolean Plugin_039(uint8_t function, struct EventStruct *event, String& string)
break;
}

if (!isValidFloat(Plugin_039_Celsius))
if (isValidFloat(Plugin_039_Celsius))
{
UserVar[event->BaseVarIndex] = Plugin_039_Celsius;

Expand Down

0 comments on commit d6dc5e2

Please sign in to comment.