@@ -128,14 +128,10 @@ void readFiles()
128
128
lnurlPoS = getJsonValue (doc, " config_lnurlpos" );
129
129
lnurlATM = getJsonValue (doc, " config_lnurlatm" );
130
130
masterKey = getJsonValue (doc, " config_masterkey" );
131
- lnbitsServer = getJsonValue (doc, " config_server" );
132
- invoice = getJsonValue (doc, " config_invoice" );
133
131
lncurrency = getJsonValue (doc, " config_lncurrency" );
134
132
lnurlATMMS = getJsonValue (doc, " config_lnurlatmms" );
135
133
lnurlATMPin = getJsonValue (doc, " config_lnurlatmpin" );
136
134
decimalplaces = getJsonValue (doc, " config_decimalplaces" );
137
- ssid = getJsonValue (doc, " config_wifi_ssid" );
138
- password = getJsonValue (doc, " config_wifi_password" );
139
135
}
140
136
141
137
// //////LNURL PoS string/////////
@@ -191,34 +187,6 @@ void readFiles()
191
187
Serial.println (" MasterKey not set" );
192
188
}
193
189
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
-
222
190
// ///////PoS Currency///////
223
191
if (lncurrency != " null" || lncurrency != " " )
224
192
{
@@ -267,30 +235,6 @@ void readFiles()
267
235
{
268
236
Serial.println (" no. fiat decimal places not set" );
269
237
}
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
- }
294
238
}
295
239
paramFile.close ();
296
240
}
0 commit comments