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();