mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 23:13:50 +00:00
Update the MQTT and JSON handling slightly.
This commit is contained in:
parent
893952f024
commit
fddabee1b9
3 changed files with 22 additions and 18 deletions
2
Log.cpp
2
Log.cpp
|
|
@ -101,7 +101,7 @@ void WriteJSON(const std::string& topLevel, nlohmann::json& json)
|
|||
|
||||
top[topLevel] = json;
|
||||
|
||||
m_mqtt->publish("json", top.dump().c_str());
|
||||
m_mqtt->publish("json", top.dump());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue