Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarzen committed Sep 28, 2024
1 parent f37e9e1 commit 97fe219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platformio/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ void beginDeepSleep(unsigned long startTime, tm *timeInfo)
// additional time due to bedtime.
// i.e. when curHour == 0, then timeInfo->tm_hour == WAKE_TIME
int bedtimeHour = INT_MAX;
if (BED_TIME != WAKE_TIME) {
if (BED_TIME != WAKE_TIME)
{
bedtimeHour = (BED_TIME - WAKE_TIME + 24) % 24;
}

Expand Down

0 comments on commit 97fe219

Please sign in to comment.