Skip to content

Commit 28a1bbf

Browse files
committed
Pulled online
1 parent 765e468 commit 28a1bbf

File tree

2 files changed

+3
-511
lines changed

2 files changed

+3
-511
lines changed

lnpos/100_config.ino

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,10 @@ void readFiles()
128128
lnurlPoS = getJsonValue(doc, "config_lnurlpos");
129129
lnurlATM = getJsonValue(doc, "config_lnurlatm");
130130
masterKey = getJsonValue(doc, "config_masterkey");
131-
lnbitsServer = getJsonValue(doc, "config_server");
132-
invoice = getJsonValue(doc, "config_invoice");
133131
lncurrency = getJsonValue(doc, "config_lncurrency");
134132
lnurlATMMS = getJsonValue(doc, "config_lnurlatmms");
135133
lnurlATMPin = getJsonValue(doc, "config_lnurlatmpin");
136134
decimalplaces = getJsonValue(doc, "config_decimalplaces");
137-
ssid = getJsonValue(doc, "config_wifi_ssid");
138-
password = getJsonValue(doc, "config_wifi_password");
139135
}
140136

141137
////////LNURL PoS string/////////
@@ -191,34 +187,6 @@ void readFiles()
191187
Serial.println("MasterKey not set");
192188
}
193189

194-
//////////Lnbits Server/////////
195-
if (lnbitsServer != "null" || lnbitsServer != "")
196-
{
197-
Serial.println("");
198-
Serial.println("lnbitsServer used from memory");
199-
Serial.println("lnbitsServer: " + lnbitsServer);
200-
}
201-
else
202-
{
203-
Serial.println("lnbitsServer not set");
204-
}
205-
206-
/////////LNbits Server///////
207-
if (invoice != "null" || invoice != "")
208-
{
209-
Serial.println("");
210-
Serial.println("invoice key used from memory");
211-
Serial.println("invoice key: " + invoice);
212-
if (invoice != "")
213-
{
214-
menuItemCheck[0] = 1;
215-
}
216-
}
217-
else
218-
{
219-
Serial.println("invoice key not set");
220-
}
221-
222190
/////////PoS Currency///////
223191
if (lncurrency != "null" || lncurrency != "")
224192
{
@@ -267,30 +235,6 @@ void readFiles()
267235
{
268236
Serial.println("no. fiat decimal places not set");
269237
}
270-
271-
/////////WiFi SSID///////
272-
if (ssid != "null" || ssid != "")
273-
{
274-
Serial.println("");
275-
Serial.println("WiFi SSID used from memory");
276-
Serial.println("WiFi SSID: " + ssid);
277-
}
278-
else
279-
{
280-
Serial.println("WiFi SSID not set");
281-
}
282-
283-
/////////WiFi password///////
284-
if (decimalplaces != "null" || decimalplaces != "")
285-
{
286-
Serial.println("");
287-
Serial.println("WiFi password used from memory");
288-
Serial.println("WiFi password: " + password);
289-
}
290-
else
291-
{
292-
Serial.println("WiFi password not set");
293-
}
294238
}
295239
paramFile.close();
296240
}

0 commit comments

Comments
 (0)