Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Dec 19, 2023
1 parent bc580f0 commit eb9e2da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/driver/drv_ntp_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ static int calc_day_offset(int tm_wday, int weekDayFlags)
}
return (day_offset);
}
#endif

void NTP_CalculateSunrise(byte *outHour, byte *outMinute) {
dusk2Dawn(&sun_data, SUNRISE_FLAG, outHour, outMinute, 0);
dusk2Dawn(&sun_data, SUNRISE_FLAG, outHour, outMinute, 0);
}
void NTP_CalculateSunset(byte *outHour, byte *outMinute) {
dusk2Dawn(&sun_data, SUNSET_FLAG, outHour, outMinute, 0);
}
#endif

void NTP_RunEventsForSecond(unsigned int runTime) {
ntpEvent_t *e;
struct tm *ltm;
Expand Down

0 comments on commit eb9e2da

Please sign in to comment.