mirror of
https://codeberg.org/mclemens/hr50-remote-display.git
synced 2024-09-27 08:15:54 -04:00
„hr50-remote-display.ino“ ändern
This commit is contained in:
parent
360b65f600
commit
5fabfd6eb5
@ -50,7 +50,7 @@ void loop() {
|
||||
deserializeJson(doc, payload);
|
||||
JsonObject obj = doc.as<JsonObject>();
|
||||
|
||||
if ( obj != NULL ) {
|
||||
if ( obj != NULL and obj["PTT"].as<String>() != "ERR") {
|
||||
String band = obj["BND"].as<String>();
|
||||
String pep = obj["PEP"].as<String>();
|
||||
String avg = obj["AVG"].as<String>();
|
||||
|
Loading…
Reference in New Issue
Block a user