style: auto formatting

This commit is contained in:
proddy
2021-03-30 17:58:49 +02:00
parent 108f236874
commit 9787d1686f
6 changed files with 11 additions and 21 deletions

View File

@@ -376,7 +376,7 @@ void Mqtt::on_message(const char * fulltopic, const char * payload, size_t len)
} else if (data.isNull()) {
DynamicJsonDocument resp(EMSESP_JSON_SIZE_XLARGE_DYN);
JsonObject json = resp.to<JsonObject>();
cmd_known = Command::call(mf.device_type_, command, "", n, json);
cmd_known = Command::call(mf.device_type_, command, "", n, json);
if (cmd_known && json.size()) {
Mqtt::publish(F("response"), resp.as<JsonObject>());
}