diff --git a/src/fw/services/normal/alarms/alarm.c b/src/fw/services/normal/alarms/alarm.c index 01a0c0e0..b430c9e6 100644 --- a/src/fw/services/normal/alarms/alarm.c +++ b/src/fw/services/normal/alarms/alarm.c @@ -593,7 +593,7 @@ static int prv_get_day_for_just_once_alarm(int hour, int minute) { localtime_r(¤t_time, &local_time); if (hour < local_time.tm_hour || (hour == local_time.tm_hour && minute <= local_time.tm_min)) { - // 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. Schedule the alarm for tomorrow return (local_time.tm_wday + 1) % DAYS_PER_WEEK; } else { // The time hasn't happened yet today. Schedule it for today