From a0222e963c4f6abd788afdfff5c217ce51ab5bc4 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Tue, 28 Jan 2025 15:33:57 -0500
Subject: [PATCH] spelling: receive

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
 src/fw/apps/prf_apps/mfg_btle_app.c                | 2 +-
 src/fw/comm/ble/kernel_le_client/ancs/ancs.c       | 2 +-
 src/fw/services/common/analytics/analytics_event.h | 2 +-
 src/fw/services/normal/phone_call.c                | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/fw/apps/prf_apps/mfg_btle_app.c b/src/fw/apps/prf_apps/mfg_btle_app.c
index 8ed7967a..e3267676 100644
--- a/src/fw/apps/prf_apps/mfg_btle_app.c
+++ b/src/fw/apps/prf_apps/mfg_btle_app.c
@@ -174,7 +174,7 @@ static void prv_response_cb(HciStatusCode status, const uint8_t *payload) {
     // RX Test, need to keep track of received packets
     // Payload is as follows:
     // | 1 byte  | 2 bytes          |
-    // | success | recieved packets |
+    // | success | received packets |
     // So we want grab a uint16_t from 1 byte into the payload
     const uint16_t *received_packets = (uint16_t *)(payload + 1);
     data->rx_test_received_packets = *received_packets;
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 d4042f52..136350aa 100644
--- a/src/fw/comm/ble/kernel_le_client/ancs/ancs.c
+++ b/src/fw/comm/ble/kernel_le_client/ancs/ancs.c
@@ -895,7 +895,7 @@ static void prv_handle_ns_notification(uint32_t length, const uint8_t *notificat
     case EventIDNotificationAdded:
       // 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 preexisting check we will re-recieve all the notifications
+      // By skipping the preexisting check we will re-receive 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/analytics/analytics_event.h b/src/fw/services/common/analytics/analytics_event.h
index f77c283c..e146995c 100644
--- a/src/fw/services/common/analytics/analytics_event.h
+++ b/src/fw/services/common/analytics/analytics_event.h
@@ -469,7 +469,7 @@ void analytics_event_health_insight_response(time_t timestamp, ActivityInsightTy
                                              ActivitySessionType activity_type,
                                              ActivityInsightResponseType response_id);
 
-//! Tracks duration of time it takes to recieve byte transfers over putbytes
+//! Tracks duration of time it takes to receive byte transfers over putbytes
 //! and statistics on the type of transfer and whether the data stored was valid
 //! @param session the session used to transfer the data
 //! @param crc_good whether or not the CRC for the blob transferred is valid
diff --git a/src/fw/services/normal/phone_call.c b/src/fw/services/normal/phone_call.c
index 6455921f..9ad33728 100644
--- a/src/fw/services/normal/phone_call.c
+++ b/src/fw/services/normal/phone_call.c
@@ -77,7 +77,7 @@ static void prv_timer_callback(void *context) {
 }
 
 static void prv_schedule_call_watchdog(int poll_interval_ms) {
-  // The Android app currently crashes if it recieves the get_state event. It currently doesn't
+  // The Android app currently crashes if it receives the get_state event. It currently doesn't
   // respond either so don't bother sending messages we don't need to. We also don't need to poll
   // iOS 9 since we can rely on ANCS to tell us when the phone stops ringing
   if (s_call_source == PhoneCallSource_ANCS_Legacy) {