Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasmusall committed Nov 6, 2022
1 parent 39d161f commit 4f424e2
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions wakeonweb.ino
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,15 @@ void setupClock()
struct tm timeInfo;
gmtime_r(&now, &timeInfo);
sprintf(
cacheDate,
"%s, %02d %s %04d %02d:%02d:%02d GMT",
dayTable[timeInfo.tm_wday - 1],
timeInfo.tm_mday,
monthTable[timeInfo.tm_mon],
timeInfo.tm_year + 1900,
timeInfo.tm_hour,
timeInfo.tm_min,
timeInfo.tm_sec
);
cacheDate,
"%s, %02d %s %04d %02d:%02d:%02d GMT",
dayTable[timeInfo.tm_wday - 1],
timeInfo.tm_mday,
monthTable[timeInfo.tm_mon],
timeInfo.tm_year + 1900,
timeInfo.tm_hour,
timeInfo.tm_min,
timeInfo.tm_sec);
Serial.println(cacheDate);
}

Expand Down Expand Up @@ -311,7 +310,6 @@ void handleNotFound()
server.send(404, "text/plain", "404 Not Found");
}


/* ---- Actual power-on function ---- */

// Triggers the power button of the connected mainboard
Expand Down

0 comments on commit 4f424e2

Please sign in to comment.