Skip to content

Commit b1b6f49

Browse files
committed
Clean-up whitespace
1 parent cf88a76 commit b1b6f49

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/SunMoonCalcDemo/SunMoonCalcDemo.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,16 @@ void setup() {
9292
delay(500);
9393
connectWifi();
9494
Serial.println();
95+
9596
Serial.println("Syncing time...");
96-
9797
configTime(0, 0, "pool.ntp.org");
9898
// some explanations about this POSIX format: https://www.ibm.com/developerworks/aix/library/au-aix-posix/
9999
// -> represents a central European timezone identifier such as Europe/Berlin
100100
setenv("TZ", "CET-1CEST,M3.5.0,M10.5.0/3", 0);
101-
102101
while(time(nullptr) <= 100000) {
103102
Serial.print(".");
104103
delay(100);
105104
}
106-
107105
Serial.println("Time sync'ed");
108106

109107
// prepare the time input value

0 commit comments

Comments
 (0)