diff --git a/src/fw/comm/ble/gap_le_scan.h b/src/fw/comm/ble/gap_le_scan.h index dd558c15..9f8bd9f0 100644 --- a/src/fw/comm/ble/gap_le_scan.h +++ b/src/fw/comm/ble/gap_le_scan.h @@ -22,7 +22,7 @@ //! @internal //! The number of reports that the circular reports buffer can contain. -//! Accomodate for 4 reports with advertisement and scan reponse data: +//! Accomodate for 4 reports with advertisement and scan response data: #define GAP_LE_SCAN_REPORTS_BUFFER_SIZE (4 * (sizeof(GAPLERawAdReport) + \ (2 * GAP_LE_AD_REPORT_DATA_MAX_LENGTH))) diff --git a/src/fw/comm/ble/gatt_client_operations.c b/src/fw/comm/ble/gatt_client_operations.c index 17f09b89..e1aa33d9 100644 --- a/src/fw/comm/ble/gatt_client_operations.c +++ b/src/fw/comm/ble/gatt_client_operations.c @@ -91,7 +91,7 @@ static void prv_internal_write_cccd_response_cb(GattClientOpResponseHdr *event) gatt_client_subscriptions_handle_write_cccd_response(cccd, error); } -static BLEGATTError prv_handle_response(const GattClientOpReadReponse *resp, +static BLEGATTError prv_handle_response(const GattClientOpReadResponse *resp, const GattClientEventContext *data, uint16_t *gatt_value_length) { uint16_t val_len = resp->value_length; @@ -154,7 +154,7 @@ void bt_driver_cb_gatt_client_operations_handle_response(GattClientOpResponseHdr } else { switch (event->type) { case GattClientOpResponseRead: { - const GattClientOpReadReponse *resp = (GattClientOpReadReponse *)event; + const GattClientOpReadResponse *resp = (GattClientOpReadResponse *)event; PBL_ASSERTN(data->subtype == PebbleBLEGATTClientEventTypeCharacteristicRead || data->subtype == PebbleBLEGATTClientEventTypeDescriptorRead); gatt_err_code = prv_handle_response(resp, data, &gatt_value_length); diff --git a/src/fw/services/common/analytics/analytics_event.h b/src/fw/services/common/analytics/analytics_event.h index e146995c..f9fa9c59 100644 --- a/src/fw/services/common/analytics/analytics_event.h +++ b/src/fw/services/common/analytics/analytics_event.h @@ -45,8 +45,8 @@ typedef enum { AnalyticsEvent_AppLaunch, AnalyticsEvent_PinOpen, AnalyticsEvent_PinAction, - AnalyticsEvent_CannedReponseSent, - AnalyticsEvent_CannedReponseFailed, + AnalyticsEvent_CannedResponseSent, + AnalyticsEvent_CannedResponseFailed, AnalyticsEvent_VoiceTranscriptionAccepted, AnalyticsEvent_VoiceTranscriptionRejected, AnalyticsEvent_PinAppLaunch, diff --git a/src/fw/services/normal/analytics/analytics_event.c b/src/fw/services/normal/analytics/analytics_event.c index a14fe238..1b909129 100644 --- a/src/fw/services/normal/analytics/analytics_event.c +++ b/src/fw/services/normal/analytics/analytics_event.c @@ -217,8 +217,8 @@ void analytics_event_canned_response(const char *response, bool successfully_sen // Format the event specific info in the blob. The analytics_logging_log_event() method will fill // in the common fields AnalyticsEventBlob event_blob = { - .event = successfully_sent ? AnalyticsEvent_CannedReponseSent - : AnalyticsEvent_CannedReponseFailed, + .event = successfully_sent ? AnalyticsEvent_CannedResponseSent + : AnalyticsEvent_CannedResponseFailed, }; if (!response) { diff --git a/src/fw/services/normal/app_fetch_endpoint.c b/src/fw/services/normal/app_fetch_endpoint.c index 83c25fa9..dc83d20d 100644 --- a/src/fw/services/normal/app_fetch_endpoint.c +++ b/src/fw/services/normal/app_fetch_endpoint.c @@ -160,7 +160,7 @@ static void prv_cleanup(AppFetchResult result) { } //! System task callback triggered by app_fetch_put_bytes_event_handler() when we are receiving -//! put_bytes messages in reponse to a fetch request to the phone. +//! put_bytes messages in response to a fetch request to the phone. void prv_put_bytes_event_system_task_cb(void *data) { PebblePutBytesEvent *pb_event = (PebblePutBytesEvent *)data; diff --git a/src/include/bluetooth/gatt.h b/src/include/bluetooth/gatt.h index 6ace2d22..6ad719e7 100644 --- a/src/include/bluetooth/gatt.h +++ b/src/include/bluetooth/gatt.h @@ -96,15 +96,15 @@ typedef struct GattClientOpResponseHdr { void *context; } GattClientOpResponseHdr; -typedef struct GattClientOpReadReponse { +typedef struct GattClientOpReadResponse { GattClientOpResponseHdr hdr; uint16_t value_length; uint8_t *value; -} GattClientOpReadReponse; +} GattClientOpReadResponse; -typedef struct GattClientOpWriteReponse { +typedef struct GattClientOpWriteResponse { GattClientOpResponseHdr hdr; -} GattClientOpWriteReponse; +} GattClientOpWriteResponse; // -- Gatt Data Structures