From ecb5dae4efcf01aa8f819176d7e1f9db8ec91873 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:41:21 -0500 Subject: [PATCH] spelling: exponential Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- platform/robert/boot/src/util/math.h | 2 +- platform/snowy/boot/src/util/misc.h | 2 +- src/libutil/includes/util/math.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/robert/boot/src/util/math.h b/platform/robert/boot/src/util/math.h index 052d82bb..1e2c02ee 100644 --- a/platform/robert/boot/src/util/math.h +++ b/platform/robert/boot/src/util/math.h @@ -64,7 +64,7 @@ int ceil_log_two(uint32_t n); ) /** - * Compute the next backoff interval using a bounded binary expoential backoff formula. + * Compute the next backoff interval using a bounded binary exponential backoff formula. * * @param[in,out] attempt The number of retries performed so far. This count will be incremented * by the function. diff --git a/platform/snowy/boot/src/util/misc.h b/platform/snowy/boot/src/util/misc.h index 880b81fb..8e24d135 100644 --- a/platform/snowy/boot/src/util/misc.h +++ b/platform/snowy/boot/src/util/misc.h @@ -79,7 +79,7 @@ const char *bool_to_str(bool b); bool convert_bt_addr_hex_str_to_bd_addr(const char *hex_str, uint8_t *bd_addr, const unsigned int bd_addr_size); /** - * Compute the next backoff interval using a bounded binary expoential backoff formula. + * Compute the next backoff interval using a bounded binary exponential backoff formula. * * @param[in,out] attempt The number of retries performed so far. This count will be incremented by * the function. diff --git a/src/libutil/includes/util/math.h b/src/libutil/includes/util/math.h index dc8dfdb9..4fbe2f73 100644 --- a/src/libutil/includes/util/math.h +++ b/src/libutil/includes/util/math.h @@ -88,7 +88,7 @@ static inline int distance_to_mod_boundary(int32_t i, uint16_t n) { } /** - * Compute the next backoff interval using a bounded binary expoential backoff formula. + * Compute the next backoff interval using a bounded binary exponential backoff formula. * * @param[in,out] attempt The number of retries performed so far. This count will be incremented by the function. * @param[in] initial_value The inital backoff interval. Subsequent backoff attempts will be this number multiplied by a power of 2.