spelling: receive

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:33:57 -05:00
parent a58187577d
commit a0222e963c
4 changed files with 4 additions and 4 deletions

View File

@ -174,7 +174,7 @@ static void prv_response_cb(HciStatusCode status, const uint8_t *payload) {
// RX Test, need to keep track of received packets // RX Test, need to keep track of received packets
// Payload is as follows: // Payload is as follows:
// | 1 byte | 2 bytes | // | 1 byte | 2 bytes |
// | success | recieved packets | // | success | received packets |
// So we want grab a uint16_t from 1 byte into the payload // So we want grab a uint16_t from 1 byte into the payload
const uint16_t *received_packets = (uint16_t *)(payload + 1); const uint16_t *received_packets = (uint16_t *)(payload + 1);
data->rx_test_received_packets = *received_packets; data->rx_test_received_packets = *received_packets;

View File

@ -895,7 +895,7 @@ static void prv_handle_ns_notification(uint32_t length, const uint8_t *notificat
case EventIDNotificationAdded: case EventIDNotificationAdded:
// In iOS 8.2 several apps (especially mail.app) seem to be setting the preexisting 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. // 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 // we got in the past 2 hours. To get past this ignore notifications for the first couple
// seconds after connecting // seconds after connecting
if (s_just_connected && (nsnotification->event_flags & EventFlagPreExisting)) { if (s_just_connected && (nsnotification->event_flags & EventFlagPreExisting)) {

View File

@ -469,7 +469,7 @@ void analytics_event_health_insight_response(time_t timestamp, ActivityInsightTy
ActivitySessionType activity_type, ActivitySessionType activity_type,
ActivityInsightResponseType response_id); 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 //! and statistics on the type of transfer and whether the data stored was valid
//! @param session the session used to transfer the data //! @param session the session used to transfer the data
//! @param crc_good whether or not the CRC for the blob transferred is valid //! @param crc_good whether or not the CRC for the blob transferred is valid

View File

@ -77,7 +77,7 @@ static void prv_timer_callback(void *context) {
} }
static void prv_schedule_call_watchdog(int poll_interval_ms) { 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 // 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 // iOS 9 since we can rely on ANCS to tell us when the phone stops ringing
if (s_call_source == PhoneCallSource_ANCS_Legacy) { if (s_call_source == PhoneCallSource_ANCS_Legacy) {