From 11a46154bcb714c706b67b62fe7086bdd0c4e0f1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 13:29:26 -0500 Subject: [PATCH] spelling: equal Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/applib/graphics/graphics_circle.c | 2 +- src/fw/util/pstring.h | 2 +- tools/mpu_calc.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fw/applib/graphics/graphics_circle.c b/src/fw/applib/graphics/graphics_circle.c index 48360f39..6520a8d7 100644 --- a/src/fw/applib/graphics/graphics_circle.c +++ b/src/fw/applib/graphics/graphics_circle.c @@ -516,7 +516,7 @@ void graphics_draw_circle(GContext* ctx, GPoint p, uint16_t radius) { } if (radius == 0) { - // Special case radius 0 to fill a circle with radius eqaul to half the stroke width + // Special case radius 0 to fill a circle with radius equal to half the stroke width // Backup the fill color and set that to the current stroke color since the fill color // is what is used for fill circle. Restore the fill color afterwards. GColor backup_fill_color = ctx->draw_state.fill_color; diff --git a/src/fw/util/pstring.h b/src/fw/util/pstring.h index d890289f..d8195566 100644 --- a/src/fw/util/pstring.h +++ b/src/fw/util/pstring.h @@ -54,7 +54,7 @@ void pstring_pstring16_to_string(const PascalString16 *pstring, char *string_out //! Must be at least size (string + 1). void pstring_string_to_pstring16(char string[], PascalString16 *pstring_out); -//! Checks if 2 pstrings are euqual and returns true if so. +//! Checks if 2 pstrings are equal and returns true if so. //! @note returns false if either / both pstrings are NULL bool pstring_equal(const PascalString16 *ps1, const PascalString16 *ps2); diff --git a/tools/mpu_calc.py b/tools/mpu_calc.py index f083d0b3..b5ede83c 100644 --- a/tools/mpu_calc.py +++ b/tools/mpu_calc.py @@ -22,7 +22,7 @@ NUM_SUBREGIONS = 8 def round_up_to_power_of_two(x): - """ Find the next power of two that is eqaul to or greater than x + """ Find the next power of two that is equal to or greater than x >>> round_up_to_power_of_two(4) 4