From 56b15843521dac6a9465b84c90f033f4cf6158ce Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:46:52 -0500 Subject: [PATCH] spelling: success Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/applib/bluetooth/ble_client.h | 2 +- src/fw/applib/graphics/gtypes.h | 2 +- src/fw/services/common/comm_session/session_send_buffer.h | 2 +- src/fw/services/common/comm_session/session_send_queue.c | 2 +- src/fw/services/common/hrm/hrm_manager.h | 2 +- src/fw/services/common/legacy/factory_registry.h | 2 +- tools/analyze_mcu_flash_find_unclaimed.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/fw/applib/bluetooth/ble_client.h b/src/fw/applib/bluetooth/ble_client.h index 896906b8..a722516a 100644 --- a/src/fw/applib/bluetooth/ble_client.h +++ b/src/fw/applib/bluetooth/ble_client.h @@ -234,7 +234,7 @@ BTErrno ble_client_write_without_response(BLECharacteristic characteristic, //! @note Under the hood, this API writes to the Client Characteristic //! Configuration Descriptor's Notifications or Indications enabled/disabled //! bit. -//! @return BTErrnoOK if the subscription request was sent sucessfully, or +//! @return BTErrnoOK if the subscription request was sent successfully, or //! TODO... BTErrno ble_client_subscribe(BLECharacteristic characteristic, BLESubscription subscription_type); diff --git a/src/fw/applib/graphics/gtypes.h b/src/fw/applib/graphics/gtypes.h index 7cd5b20b..29ad8c2e 100644 --- a/src/fw/applib/graphics/gtypes.h +++ b/src/fw/applib/graphics/gtypes.h @@ -1065,7 +1065,7 @@ GBitmap *gbitmap_create_with_resource_system(ResAppNum app_num, uint32_t resourc //! @internal //! @see gbitmap_init_with_resource //! @param app_num The app's resource bank number -//! @return true if we were sucessful, false otherwise +//! @return true if we were successful, false otherwise bool gbitmap_init_with_resource_system(GBitmap* bitmap, ResAppNum app_num, uint32_t resource_id); //! @internal diff --git a/src/fw/services/common/comm_session/session_send_buffer.h b/src/fw/services/common/comm_session/session_send_buffer.h index c9547358..8f1f4db7 100644 --- a/src/fw/services/common/comm_session/session_send_buffer.h +++ b/src/fw/services/common/comm_session/session_send_buffer.h @@ -38,7 +38,7 @@ size_t comm_session_send_buffer_get_max_payload_length(const CommSession *sessio //! the function returns with `true`, the amount of space (or more) is guaranteed to be available. //! @param timeout_ms The maximum duration to wait for the send buffer to become available with the //! required number of bytes of free space. -//! @return True if the "writer access" was sucessfully acquired, false otherwise. +//! @return True if the "writer access" was successfully acquired, false otherwise. SendBuffer * comm_session_send_buffer_begin_write(CommSession *session, uint16_t endpoint_id, size_t required_free_length, uint32_t timeout_ms); diff --git a/src/fw/services/common/comm_session/session_send_queue.c b/src/fw/services/common/comm_session/session_send_queue.c index 7c0903ba..549ef40c 100644 --- a/src/fw/services/common/comm_session/session_send_queue.c +++ b/src/fw/services/common/comm_session/session_send_queue.c @@ -107,7 +107,7 @@ size_t comm_session_send_queue_get_read_pointer(const CommSession *session, } void comm_session_send_queue_consume(CommSession *session, size_t remaining_length) { - // The data has sucessfully been sent out at this point + // The data has successfully been sent out at this point comm_session_analytics_inc_bytes_sent(session, remaining_length); PBL_ASSERTN(session->send_queue_head); diff --git a/src/fw/services/common/hrm/hrm_manager.h b/src/fw/services/common/hrm/hrm_manager.h index 49695066..667b785c 100644 --- a/src/fw/services/common/hrm/hrm_manager.h +++ b/src/fw/services/common/hrm/hrm_manager.h @@ -129,7 +129,7 @@ bool sys_hrm_manager_set_update_interval(HRMSessionRef session, uint32_t update_ //! @param[out] app_id if not NULL, the app_id belonging to this subscription is returned here //! @param[out] update_interval_s if not NULL, the requested update interval is returned here //! @param[out] expire_s if not NULL, the number of seconds that this subscription will expire in -//! @return true if succss, false if subscription was not found +//! @return true if success, false if subscription was not found bool sys_hrm_manager_get_subscription_info(HRMSessionRef session, AppInstallId *app_id, uint32_t *update_interval_s, uint16_t *expire_s, HRMFeature *features); diff --git a/src/fw/services/common/legacy/factory_registry.h b/src/fw/services/common/legacy/factory_registry.h index 219f9c28..41633b47 100644 --- a/src/fw/services/common/legacy/factory_registry.h +++ b/src/fw/services/common/legacy/factory_registry.h @@ -39,7 +39,7 @@ Record* factory_registry_get(const char* key, const uint8_t key_length, const ui //! Remove a record from the factory settings registry //! -//! @return 0 on sucess, -1 if record not found +//! @return 0 on success, -1 if record not found int factory_registry_remove(const char* key, const uint8_t key_length, const uint8_t* uuid); //! Write the factory settings registry to flash diff --git a/tools/analyze_mcu_flash_find_unclaimed.py b/tools/analyze_mcu_flash_find_unclaimed.py index 15e7d504..961f376a 100755 --- a/tools/analyze_mcu_flash_find_unclaimed.py +++ b/tools/analyze_mcu_flash_find_unclaimed.py @@ -28,7 +28,7 @@ def contains(a, b): def claim(c, unclaimed_regions, symbol): """ Removes region (c_start, c_end) from the set of unclaimed_regions - Return True if the region was sucessfully removed, False if it was + Return True if the region was successfully removed, False if it was already claimed. """