mirror of
https://github.com/google/pebble
synced 2026-10-17 08:44:11 +02:00
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user