From e3602b52fcdd97e476201f0e2bae1d1f84f21110 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:29:24 -0500 Subject: [PATCH] spelling: potential Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/services/common/accel_manager.c | 2 +- tools/mpu_calc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fw/services/common/accel_manager.c b/src/fw/services/common/accel_manager.c index 8a4bfaf6..2d18cf5b 100644 --- a/src/fw/services/common/accel_manager.c +++ b/src/fw/services/common/accel_manager.c @@ -171,7 +171,7 @@ static void prv_double_tap_remove_subscriber_cb(PebbleTask task) { //! 200ms, and subscriber B at 250ms, new samples will become available every //! 200ms, so subscriber B's data buffer would not fill until 400ms, resulting //! in a 150ms latency. This is how the legacy implementation worked as well -//! but is potentionally something we could improve in the future if it becomes +//! but is potentially something we could improve in the future if it becomes //! a problem. static uint32_t prv_get_sample_interval_info(uint32_t *lowest_interval_us, uint32_t *max_n_samples) { diff --git a/tools/mpu_calc.py b/tools/mpu_calc.py index b5ede83c..426e7f05 100644 --- a/tools/mpu_calc.py +++ b/tools/mpu_calc.py @@ -63,7 +63,7 @@ def find_subregions_for_region(address, size): smallest_block_size = max(round_up_to_power_of_two(size), MIN_REGION_SIZE) largest_block_size = min(round_up_to_power_of_two(size * NUM_SUBREGIONS), MAX_REGION_SIZE) - # Iterate over the potentional candidates from smallest to largest + # Iterate over the potential candidates from smallest to largest current_block_size = smallest_block_size while current_block_size <= largest_block_size: subregion_size = current_block_size // NUM_SUBREGIONS