From f7cac0ad9b909d1c0c0a50d40e7a1d67bb69f56c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:05:00 -0500 Subject: [PATCH] spelling: cannot Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/services/common/hrm/hrm_manager.h | 2 +- src/fw/util/shared_circular_buffer.h | 4 ++-- tests/fw/comm/test_ams.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fw/services/common/hrm/hrm_manager.h b/src/fw/services/common/hrm/hrm_manager.h index ae6385fa..ff40f6cd 100644 --- a/src/fw/services/common/hrm/hrm_manager.h +++ b/src/fw/services/common/hrm/hrm_manager.h @@ -99,7 +99,7 @@ void hrm_manager_handle_prefs_changed(void); HRMSessionRef sys_hrm_manager_app_subscribe(AppInstallId app_id, uint32_t update_interval_s, uint16_t expire_s, HRMFeature features); -//! Return the HRMSessionRef for an app or worker subscription, if it exists. This call can not +//! Return the HRMSessionRef for an app or worker subscription, if it exists. This call cannot //! be used for KernelBG subscriptions //! @param app_id the application's AppInstallId //! @return the HRMSessionRef for this subscription, or NULL if no subscription exists diff --git a/src/fw/util/shared_circular_buffer.h b/src/fw/util/shared_circular_buffer.h index 71a6fce1..d437c824 100644 --- a/src/fw/util/shared_circular_buffer.h +++ b/src/fw/util/shared_circular_buffer.h @@ -59,7 +59,7 @@ bool shared_circular_buffer_write(SharedCircularBuffer* buffer, const uint8_t* d //! Add a read client //! @param buffer The buffer to add the client to -//! @param client Pointer to a client structure. This structure must be allocated by the caller and can not +//! @param client Pointer to a client structure. This structure must be allocated by the caller and cannot //! be freed until the client is removed //! @return true if successfully added bool shared_circular_buffer_add_client(SharedCircularBuffer* buffer, SharedCircularBufferClient *client); @@ -130,7 +130,7 @@ typedef struct SubsampledSharedCircularBufferClient { //! //! @param buffer The buffer to add the client to //! @param client Pointer to a client structure. This structure must be -//! allocated by the caller and can not be freed until the client is +//! allocated by the caller and cannot be freed until the client is //! removed. //! @param subsample_numerator The numerator of the client's initial subsampling //! ratio. diff --git a/tests/fw/comm/test_ams.c b/tests/fw/comm/test_ams.c index 823a4d17..7714d0da 100644 --- a/tests/fw/comm/test_ams.c +++ b/tests/fw/comm/test_ams.c @@ -136,7 +136,7 @@ void test_ams__discover_of_ams_should_subscribe_to_entity_update_characteristic( // Assert ams.c can handle the characteristic reference for the first instance: prv_assert_can_handle_characteristics(0, true /* expect_can_handle */); - // Assert ams.c can not handle the characteristic reference for the second instance: + // Assert ams.c cannot handle the characteristic reference for the second instance: prv_assert_can_handle_characteristics(1, false /* expect_can_handle */); // The first instance is expected to be used.