spelling: happened

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 14:47:44 -05:00
parent 7e0b951d8e
commit 69269d8bf1

View file

@ -596,7 +596,7 @@ static int prv_get_day_for_just_once_alarm(int hour, int minute) {
// The time is before or equal to the current time. Sechedule the alarm for tomorrow // The time is before or equal to the current time. Sechedule the alarm for tomorrow
return (local_time.tm_wday + 1) % DAYS_PER_WEEK; return (local_time.tm_wday + 1) % DAYS_PER_WEEK;
} else { } else {
// The time hasn't happend yet today. Schedule it for today // The time hasn't happened yet today. Schedule it for today
return local_time.tm_wday; return local_time.tm_wday;
} }
} }