diff --git a/src/fw/applib/health_service.h b/src/fw/applib/health_service.h index 9c7ac579..a3986813 100644 --- a/src/fw/applib/health_service.h +++ b/src/fw/applib/health_service.h @@ -490,7 +490,7 @@ typedef struct { //! exit, the UTC time of the end of the last record actually returned (i.e. start time of last //! record + 60). If `time_end` on entry is somewhere in the middle of a minute interval, this //! function behaves as if the caller passed in the end of that minute. -//! @return Actual number of records returned. May be less then the maximum requested. +//! @return Actual number of records returned. May be less than the maximum requested. //! @note If the return value is zero, `time_start` and `time_end` are meaningless. //! It's not guaranteed that all records contain valid data, even if the return value is //! greater than zero. Check `HealthMinuteData.is_invalid` to see if a given record contains diff --git a/src/fw/services/normal/activity/activity_calculators.c b/src/fw/services/normal/activity/activity_calculators.c index 38a51ab2..8205428c 100644 --- a/src/fw/services/normal/activity/activity_calculators.c +++ b/src/fw/services/normal/activity/activity_calculators.c @@ -105,7 +105,7 @@ uint32_t activity_private_compute_distance_mm(uint32_t steps, uint32_t ms) { // active_ml = 0.2 * speed_m_per_min * minutes * weight_kg // // Converting to calories (5.01 calories per ml) and plugging in distance for speed * time, we get -// the following. We will define walking as less then 4.5MPH (120 meters/minute) +// the following. We will define walking as less than 4.5MPH (120 meters/minute) // for walking: // active_cal = 0.1 * distance_m * weight_kg * 5.01 // = 0.501 * distance_m * weight_kg diff --git a/tests/fw/drivers/test_flash_erase.c b/tests/fw/drivers/test_flash_erase.c index 78247c40..7589f4ca 100644 --- a/tests/fw/drivers/test_flash_erase.c +++ b/tests/fw/drivers/test_flash_erase.c @@ -236,7 +236,7 @@ void test_flash_erase__96k_app_banks_1(void) { } void test_flash_erase__96k_app_banks_2(void) { - // App that's in an aligned bank but larger than than 64k + // App that's in an aligned bank but larger than 64k prv_test_erase_optimal_range( 0, 0, 69 * 1024, 96 * 1024, (EraseCommand[]) { @@ -262,7 +262,7 @@ void test_flash_erase__96k_app_banks_3(void) { } void test_flash_erase__96k_app_banks_4(void) { - // App that's in an unaligned bank but larger than than 64k + // App that's in an unaligned bank but larger than 64k prv_test_erase_optimal_range( 32 * 1024, 32 * 1024, (32 + 71) * 1024, (32 + 96) * 1024, (EraseCommand[]) { diff --git a/tests/fw/system/test_flash_region.c b/tests/fw/system/test_flash_region.c index fab8aad9..5ba1a55a 100644 --- a/tests/fw/system/test_flash_region.c +++ b/tests/fw/system/test_flash_region.c @@ -148,7 +148,7 @@ void test_flash_region__erase_optimal_range_96k_app_banks(void) { s_command_list_index = 0; - // App that's in an aligned bank but larger than than 64k + // App that's in an aligned bank but larger than 64k flash_region_erase_optimal_range(0, 0, 69 * 1024, 96 * 1024); cl_assert_equal_i(s_command_list_index, 3); @@ -185,7 +185,7 @@ void test_flash_region__erase_optimal_range_96k_app_banks(void) { s_command_list_index = 0; - // App that's in an unaligned bank but larger than than 64k + // App that's in an unaligned bank but larger than 64k flash_region_erase_optimal_range(32 * 1024, 32 * 1024, (32 + 71) * 1024, (32 + 96) * 1024); cl_assert_equal_i(s_command_list_index, 9);