Skip to content

Commit

Permalink
Made bigger jsondoc
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Feb 18, 2024
1 parent c2d1872 commit 77008d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lnpos/100_config.ino
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,15 @@ void readFiles()
{
if (!hardcoded)
{
StaticJsonDocument<2500> doc;
StaticJsonDocument<6000> doc;
DeserializationError error = deserializeJson(doc, paramFile.readString());
if (error)
{
Serial.print("deserializeJson() failed: ");
Serial.println(error.c_str());
return;
}

lnurlPoS = getJsonValue(doc, "config_lnurlpos");
lnurlATM = getJsonValue(doc, "config_lnurlatm");
masterKey = getJsonValue(doc, "config_masterkey");
Expand Down

0 comments on commit 77008d2

Please sign in to comment.