mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-27 04:33:04 +00:00
Changed mqtt buffer to 384, JSON buffer to <512>
This commit is contained in:
@@ -35,7 +35,7 @@ void AmsWebServer::loop() {
|
||||
server.handleClient();
|
||||
}
|
||||
|
||||
void AmsWebServer::setJson(StaticJsonDocument<1024> json) {
|
||||
void AmsWebServer::setJson(StaticJsonDocument<512> json) {
|
||||
if(!json.isNull()) {
|
||||
p = json["data"]["P"].as<int>();
|
||||
po = json["data"]["PO"].as<int>();
|
||||
|
||||
Reference in New Issue
Block a user