Skip to content

Commit

Permalink
[WEBUI] Fix for TH1 external probe in display routine (#2127)
Browse files Browse the repository at this point in the history
Fix for TH1 external probe in display routine only actually showing when connected.
  • Loading branch information
DigiH authored Dec 5, 2024
1 parent 2cce06e commit 1b50c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ZwebUI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2054,7 +2054,7 @@ void webUIPubPrint(const char* topicori, JsonObject& data) {
}
}

if (data.containsKey("extprobe")) {
if (data.containsKey("extprobe") && data["extprobe"]) {
property++;
properties[property] = " ext. probe";
}
Expand Down

0 comments on commit 1b50c8e

Please sign in to comment.