Skip to content

Commit 086562b

Browse files
committed
format
1 parent 7e97ab0 commit 086562b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

server/src/src.ino

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//#define WEBSITE_ON_SD_CARD // Comment out this line when using external
2-
// webserver
2+
// webserver
33
#define WEBSITE_ON_EXTERNAL_WEBSERVER // Comment this line out the using SD
44
// card
55

@@ -38,19 +38,19 @@ void setup() {
3838

3939
// SD card
4040
#ifdef WEBSITE_ON_SD_CARD
41-
Serial.println("Initializing SD card...");
42-
if (!SD.begin(4)) {
43-
Serial.println("ERROR - SD card initialization failed!");
44-
return;
45-
}
46-
Serial.println("SUCCESS - SD card initialized.");
41+
Serial.println("Initializing SD card...");
42+
if (!SD.begin(4)) {
43+
Serial.println("ERROR - SD card initialization failed!");
44+
return;
45+
}
46+
Serial.println("SUCCESS - SD card initialized.");
4747

48-
Serial.println("Searching for website on SD card...");
49-
if (!SD.exists("index.htm")) {
50-
Serial.println("ERROR - Can't find index.htm!");
51-
return;
52-
}
53-
Serial.println("SUCCESS - Found file.");
48+
Serial.println("Searching for website on SD card...");
49+
if (!SD.exists("index.htm")) {
50+
Serial.println("ERROR - Can't find index.htm!");
51+
return;
52+
}
53+
Serial.println("SUCCESS - Found file.");
5454
#endif
5555
}
5656

0 commit comments

Comments
 (0)