Skip to content

Commit

Permalink
Merge pull request letscontrolit#4836 from letscontrolit/bugfix/P039_…
Browse files Browse the repository at this point in the history
…thermocouple_isvalid

[P039_Thermosensors] Fix check for valid value
  • Loading branch information
TD-er authored Oct 3, 2023
2 parents 2a07cca + d6dc5e2 commit 8d63048
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 8d63048

Please sign in to comment.