File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,8 @@ void setup(void)
271
271
Serial.println ();
272
272
delay (10 );
273
273
274
+ Wire.begin ();
275
+
274
276
SPIFFS.begin ();
275
277
if (SPIFFS.exists (" /ssid.txt" ) == 0 ) {
276
278
configMenu ();
@@ -402,7 +404,7 @@ const char PAGE_infos[] PROGMEM = "<html>\
402
404
</body>\
403
405
</html>" ;
404
406
405
- const char HTTP_HEAD [] PROGMEM = " <!DOCTYPE html><html><head lang='en'><title>{{callsign}} Weather Station</title>" ;
407
+ const char HTTP_HEADER [] PROGMEM = " <!DOCTYPE html><html><head lang='en'><title>{{callsign}} Weather Station</title>" ;
406
408
const char HTTP_SCRIPT[] PROGMEM = " <script></script>" ;
407
409
const char HTTP_STYLE[] PROGMEM = " <style> body { background-color: #000000; font-family: Arial, Helvetica, Sans-Serif; Color: #13F70C; font-size: 32px;} </style>" ;
408
410
const char HTTP_BODY[] PROGMEM = " <body>" ;
@@ -454,7 +456,7 @@ void handleSubmit(){
454
456
455
457
if (server.args () > 0 ) {
456
458
// ** common elements of the various pages
457
- message += FPSTR (HTTP_HEAD );
459
+ message += FPSTR (HTTP_HEADER );
458
460
message.replace (" {{callsign}}" , station.callsign );
459
461
message += FPSTR (HTTP_SCRIPT);
460
462
message += FPSTR (HTTP_STYLE);
You can’t perform that action at this time.
0 commit comments