mirror of
https://github.com/google/pebble.git
synced 2025-04-30 07:21:39 -04:00
spelling: wakeup
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
7499ab128b
commit
3bde9c1ab3
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ struct prv_missed_events_s {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct prv_check_app_and_wakeup_event_s {
|
struct prv_check_app_and_wakeup_event_s {
|
||||||
time_t wakeup_timestamp; //!< Timestamp of the WakupEntry
|
time_t wakeup_timestamp; //!< Timestamp of the WakeupEntry
|
||||||
int wakeup_count; //!< wakeup event count for app, negative for error (StatusCode)
|
int wakeup_count; //!< wakeup event count for app, negative for error (StatusCode)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -302,7 +302,7 @@ static void prv_update_events_callback(SettingsFile *old_file, SettingsFile *new
|
||||||
} else {
|
} else {
|
||||||
if (entry.notify_if_missed) {
|
if (entry.notify_if_missed) {
|
||||||
if (missed_events->missed_app_ids == NULL) {
|
if (missed_events->missed_app_ids == NULL) {
|
||||||
// This is allocated here, but free'd in the wakup_ui.h module
|
// This is allocated here, but free'd in the wakeup_ui.h module
|
||||||
missed_events->missed_app_ids =
|
missed_events->missed_app_ids =
|
||||||
kernel_malloc(NUM_APPS_ALERT_ON_BOOT * sizeof(AppInstallId));
|
kernel_malloc(NUM_APPS_ALERT_ON_BOOT * sizeof(AppInstallId));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue