From a169a706b77a038057eb153912a6842afa98906c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:47:53 -0500 Subject: [PATCH] spelling: supported Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/common.dox | 2 +- src/fw/applib/graphics/graphics.c | 4 ++-- src/fw/applib/graphics/graphics_circle.c | 2 +- src/fw/applib/graphics/graphics_line.c | 2 +- tests/fw/graphics/test_bitblt.c | 2 +- wscript | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/common.dox b/docs/common.dox index d7b6ca73..c71caa16 100644 --- a/docs/common.dox +++ b/docs/common.dox @@ -195,7 +195,7 @@ This function affects subsequent calls to \ref rand() to produce a sequence of n \param category The category of routines for which to set the locale \param locale The ISO formatted locale to use, or "" for the system locale -\return the locale after the change is applied, NULL on failure (e.g. unsuported category) +\return the locale after the change is applied, NULL on failure (e.g. unsupported category) \note Currently, we only support two categories: LC_ALL and LC_TIME @} diff --git a/src/fw/applib/graphics/graphics.c b/src/fw/applib/graphics/graphics.c index 313b1ba4..9acc925d 100644 --- a/src/fw/applib/graphics/graphics.c +++ b/src/fw/applib/graphics/graphics.c @@ -239,7 +239,7 @@ void graphics_fill_round_rect(GContext* ctx, const GRect *rect, uint16_t radius, #if PBL_COLOR if (ctx->draw_state.antialiased) { - // Antialiased (not suppported on 1-bit color) + // Antialiased (not supported on 1-bit color) prv_fill_rect_aa(ctx, rect, radius, corner_mask, ctx->draw_state.fill_color); return; } @@ -437,7 +437,7 @@ void graphics_draw_round_rect(GContext* ctx, const GRect *rect, uint16_t radius) prv_draw_round_rect_aa_stroked(ctx, rect, radius, ctx->draw_state.stroke_width); return; } else { - // Antialiased and Stroke Width == 1 (not suppported on 1-bit color) + // Antialiased and Stroke Width == 1 (not supported on 1-bit color) // Note: stroke width == 2 is rounded down to stroke width of 1 prv_draw_round_rect_aa(ctx, rect, radius); return; diff --git a/src/fw/applib/graphics/graphics_circle.c b/src/fw/applib/graphics/graphics_circle.c index deeab117..4302b67c 100644 --- a/src/fw/applib/graphics/graphics_circle.c +++ b/src/fw/applib/graphics/graphics_circle.c @@ -459,7 +459,7 @@ void graphics_circle_quadrant_draw(GContext* ctx, GPoint p, uint16_t radius, GCo graphics_circle_quadrant_draw_stroked_aa(ctx, p, radius, stroke_width, quadrant); return; } else { - // Antialiased and Stroke Width == 1 (not suppported on 1-bit color) + // Antialiased and Stroke Width == 1 (not supported on 1-bit color) graphics_circle_quadrant_draw_1px_aa(ctx, p, radius, quadrant); return; } diff --git a/src/fw/applib/graphics/graphics_line.c b/src/fw/applib/graphics/graphics_line.c index 9531416b..66176973 100644 --- a/src/fw/applib/graphics/graphics_line.c +++ b/src/fw/applib/graphics/graphics_line.c @@ -774,7 +774,7 @@ void graphics_draw_line(GContext* ctx, GPoint p0, GPoint p1) { graphics_line_draw_stroked_aa(ctx, p0, p1, ctx->draw_state.stroke_width); return; } else { - // Antialiased and Stroke Width == 1 (not suppported on 1-bit color) + // Antialiased and Stroke Width == 1 (not supported on 1-bit color) graphics_line_draw_1px_aa(ctx, p0, p1); return; } diff --git a/tests/fw/graphics/test_bitblt.c b/tests/fw/graphics/test_bitblt.c index 39364787..91155f1f 100644 --- a/tests/fw/graphics/test_bitblt.c +++ b/tests/fw/graphics/test_bitblt.c @@ -251,7 +251,7 @@ void test_bitblt__8bit_comptint_blend(void) { (GColor8){.a = 3, .r = 2, .g = 1, .b = 0} }; - // Test image with four pixels of all our suported alpha values + // Test image with four pixels of all our supported alpha values GBitmap test_bmp = (GBitmap){ .addr = test_blend_colors, .row_size_bytes = 4, diff --git a/wscript b/wscript index 2d71b324..1f78fcd1 100644 --- a/wscript +++ b/wscript @@ -1186,7 +1186,7 @@ def mfg_image_spi(ctx): prf_begin = 0x200000 image_size = 0x800000 else: - ctx.fatal("MFG Image not suppored for board: {}".format(ctx.env.BOARD)) + ctx.fatal("MFG Image not supported for board: {}".format(ctx.env.BOARD)) spi_flash_path = _create_spi_flash_image(ctx, 'mfg_prf_image.bin') mfg_spi_img_file = open(spi_flash_path, 'wb')