From 8ca8cffcc308923fed1d7bc726782ca22a664229 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:09:44 -0500 Subject: [PATCH] spelling: preexisting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/comm/ble/kernel_le_client/ancs/ancs.c | 8 ++++---- src/fw/services/common/hrm/hrm_manager.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fw/comm/ble/kernel_le_client/ancs/ancs.c b/src/fw/comm/ble/kernel_le_client/ancs/ancs.c index 275e75d0..d4042f52 100644 --- a/src/fw/comm/ble/kernel_le_client/ancs/ancs.c +++ b/src/fw/comm/ble/kernel_le_client/ancs/ancs.c @@ -405,8 +405,8 @@ static void prv_is_ancs_alive_cb(void *data) { } // ----------------------------------------------------------------------------- -//! With iOS 8.2 the pre-existing flag seems to be broken. Don't allow notifications for a bit after -//! reconnection so that all the "real" pre-existing notification don't come through again. +//! With iOS 8.2 the preexisting flag seems to be broken. Don't allow notifications for a bit after +//! reconnection so that all the "real" preexisting notification don't come through again. static RegularTimerInfo s_notification_connection_delay_timer; static bool s_just_connected = false; @@ -893,9 +893,9 @@ static void prv_handle_ns_notification(uint32_t length, const uint8_t *notificat // Handle the EventID switch (nsnotification->event_id) { case EventIDNotificationAdded: - // In iOS 8.2 several apps (especially mail.app) seem to be setting the pre-existing flag + // In iOS 8.2 several apps (especially mail.app) seem to be setting the preexisting flag // when they shouldn't. This appeared to be fixed in iOS 9 beta 1. - // By skipping the pre-existing check we will re-recieve all the notifications + // By skipping the preexisting check we will re-recieve all the notifications // we got in the past 2 hours. To get past this ignore notifications for the first couple // seconds after connecting if (s_just_connected && (nsnotification->event_flags & EventFlagPreExisting)) { diff --git a/src/fw/services/common/hrm/hrm_manager.h b/src/fw/services/common/hrm/hrm_manager.h index ff40f6cd..cf568336 100644 --- a/src/fw/services/common/hrm/hrm_manager.h +++ b/src/fw/services/common/hrm/hrm_manager.h @@ -90,7 +90,7 @@ void hrm_manager_handle_prefs_changed(void); //! This should not be used by KernelBG or KernelMain clients. For KernelBG client subscriptions, //! please see \ref hrm_manager_subscribe_with_callback. KernelMain clients are not yet supported. //! If the app/worker is already subscribed, this will update the subscription based on the passed -//! in arguments and return the pre-existing HRMSessionRef. +//! in arguments and return the preexisting HRMSessionRef. //! @param app_id the application's AppInstallId //! @param update_interval_s requested update interval //! @param expire_s after this many seconds, this subscription will automatically expire