Skip to content

Commit

Permalink
Pulled online
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Aug 19, 2024
1 parent 765e468 commit 28a1bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 511 deletions.
56 changes: 0 additions & 56 deletions lnpos/100_config.ino
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,10 @@ void readFiles()
lnurlPoS = getJsonValue(doc, "config_lnurlpos");
lnurlATM = getJsonValue(doc, "config_lnurlatm");
masterKey = getJsonValue(doc, "config_masterkey");
lnbitsServer = getJsonValue(doc, "config_server");
invoice = getJsonValue(doc, "config_invoice");
lncurrency = getJsonValue(doc, "config_lncurrency");
lnurlATMMS = getJsonValue(doc, "config_lnurlatmms");
lnurlATMPin = getJsonValue(doc, "config_lnurlatmpin");
decimalplaces = getJsonValue(doc, "config_decimalplaces");
ssid = getJsonValue(doc, "config_wifi_ssid");
password = getJsonValue(doc, "config_wifi_password");
}

////////LNURL PoS string/////////
Expand Down Expand Up @@ -191,34 +187,6 @@ void readFiles()
Serial.println("MasterKey not set");
}

//////////Lnbits Server/////////
if (lnbitsServer != "null" || lnbitsServer != "")
{
Serial.println("");
Serial.println("lnbitsServer used from memory");
Serial.println("lnbitsServer: " + lnbitsServer);
}
else
{
Serial.println("lnbitsServer not set");
}

/////////LNbits Server///////
if (invoice != "null" || invoice != "")
{
Serial.println("");
Serial.println("invoice key used from memory");
Serial.println("invoice key: " + invoice);
if (invoice != "")
{
menuItemCheck[0] = 1;
}
}
else
{
Serial.println("invoice key not set");
}

/////////PoS Currency///////
if (lncurrency != "null" || lncurrency != "")
{
Expand Down Expand Up @@ -267,30 +235,6 @@ void readFiles()
{
Serial.println("no. fiat decimal places not set");
}

/////////WiFi SSID///////
if (ssid != "null" || ssid != "")
{
Serial.println("");
Serial.println("WiFi SSID used from memory");
Serial.println("WiFi SSID: " + ssid);
}
else
{
Serial.println("WiFi SSID not set");
}

/////////WiFi password///////
if (decimalplaces != "null" || decimalplaces != "")
{
Serial.println("");
Serial.println("WiFi password used from memory");
Serial.println("WiFi password: " + password);
}
else
{
Serial.println("WiFi password not set");
}
}
paramFile.close();
}
Loading

0 comments on commit 28a1bbf

Please sign in to comment.