From c1e8ef32bde20a365497e27856ec3929dc8ca53a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:12:03 -0500 Subject: [PATCH] spelling: variable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- platform/robert/boot/src/util/delay.c | 2 +- platform/silk/boot/src/util/delay.c | 2 +- platform/snowy/boot/src/util/delay.c | 2 +- platform/tintin/boot/src/util/delay.c | 2 +- src/fw/applib/graphics/graphics_circle.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/robert/boot/src/util/delay.c b/platform/robert/boot/src/util/delay.c index 1f32d12f..019cae79 100644 --- a/platform/robert/boot/src/util/delay.c +++ b/platform/robert/boot/src/util/delay.c @@ -39,7 +39,7 @@ void delay_us(uint32_t us) { void delay_ms(uint32_t millis) { // delay_us(millis*1000) is not used because a long delay could easily - // overflow the veriable. Without the outer loop, a delay of even five + // overflow the variable. Without the outer loop, a delay of even five // seconds would overflow. while (millis--) { delay_us(1000); diff --git a/platform/silk/boot/src/util/delay.c b/platform/silk/boot/src/util/delay.c index f678efd5..0b3364da 100644 --- a/platform/silk/boot/src/util/delay.c +++ b/platform/silk/boot/src/util/delay.c @@ -41,7 +41,7 @@ void NOINLINE delay_us(uint32_t us) { void delay_ms(uint32_t millis) { // delay_us(millis*1000) is not used because a long delay could easily - // overflow the veriable. Without the outer loop, a delay of even five + // overflow the variable. Without the outer loop, a delay of even five // seconds would overflow. while (millis--) { delay_us(1000); diff --git a/platform/snowy/boot/src/util/delay.c b/platform/snowy/boot/src/util/delay.c index 800711d1..4110ac6e 100644 --- a/platform/snowy/boot/src/util/delay.c +++ b/platform/snowy/boot/src/util/delay.c @@ -36,7 +36,7 @@ void delay_us(uint32_t us) { void delay_ms(uint32_t millis) { // delay_us(millis*1000) is not used because a long delay could easily - // overflow the veriable. Without the outer loop, a delay of even five + // overflow the variable. Without the outer loop, a delay of even five // seconds would overflow. while (millis--) { delay_us(1000); diff --git a/platform/tintin/boot/src/util/delay.c b/platform/tintin/boot/src/util/delay.c index 8d659bb7..2e4d33ba 100644 --- a/platform/tintin/boot/src/util/delay.c +++ b/platform/tintin/boot/src/util/delay.c @@ -41,7 +41,7 @@ void NOINLINE delay_us(uint32_t us) { void delay_ms(uint32_t millis) { // delay_us(millis*1000) is not used because a long delay could easily - // overflow the veriable. Without the outer loop, a delay of even five + // overflow the variable. Without the outer loop, a delay of even five // seconds would overflow. while (millis--) { delay_us(1000); diff --git a/src/fw/applib/graphics/graphics_circle.c b/src/fw/applib/graphics/graphics_circle.c index 4302b67c..4578dffe 100644 --- a/src/fw/applib/graphics/graphics_circle.c +++ b/src/fw/applib/graphics/graphics_circle.c @@ -379,7 +379,7 @@ inline void prv_hline_quadrant(GCornerMask quadrant, GCornerMask desired, GConte static void prv_stroke_circle_quadrant_full(GContext* ctx, GPoint p, uint16_t radius, uint8_t stroke_width, GCornerMask quadrant) { - // This algorithm will draw stroked circle with vairable width (only odd numbers for now) + // This algorithm will draw stroked circle with variable width (only odd numbers for now) const uint8_t half_stroke_width = stroke_width / 2; const int16_t inner_radius = radius - half_stroke_width; const uint8_t outer_radius = radius + half_stroke_width;