From 5fabfd6eb5c3e7beca906ee7f0d2cd515c5ba47b Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Fri, 12 Nov 2021 00:39:00 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ehr50-remote-display.ino=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hr50-remote-display.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hr50-remote-display.ino b/hr50-remote-display.ino index bd7068c..a91d148 100644 --- a/hr50-remote-display.ino +++ b/hr50-remote-display.ino @@ -50,7 +50,7 @@ void loop() { deserializeJson(doc, payload); JsonObject obj = doc.as(); - if ( obj != NULL ) { + if ( obj != NULL and obj["PTT"].as() != "ERR") { String band = obj["BND"].as(); String pep = obj["PEP"].as(); String avg = obj["AVG"].as();