From 741d3d59fc05cd0e01eb3a3b60394be8f89a1f52 Mon Sep 17 00:00:00 2001 From: bjsylvia Date: Fri, 27 Dec 2024 12:04:24 +0800 Subject: [PATCH] chore: fix typos in nema_gfx (#7519) Signed-off-by: bjsylvia --- src/draw/nema_gfx/lv_draw_nema_gfx.c | 4 ++-- src/draw/nema_gfx/lv_draw_nema_gfx_stm32_hal.c | 2 +- src/draw/nema_gfx/lv_draw_nema_gfx_utils.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/draw/nema_gfx/lv_draw_nema_gfx.c b/src/draw/nema_gfx/lv_draw_nema_gfx.c index 0968d4fae..939d6030f 100644 --- a/src/draw/nema_gfx/lv_draw_nema_gfx.c +++ b/src/draw/nema_gfx/lv_draw_nema_gfx.c @@ -91,7 +91,7 @@ static int32_t nema_gfx_delete(lv_draw_unit_t * draw_unit); void lv_draw_nema_gfx_init(void) { lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = lv_draw_create_unit(sizeof(lv_draw_nema_gfx_unit_t)); - /*Initiallize NemaGFX*/ + /*Initialize NemaGFX*/ nema_init(); draw_nema_gfx_unit->base_unit.dispatch_cb = nema_gfx_dispatch; @@ -100,7 +100,7 @@ void lv_draw_nema_gfx_init(void) draw_nema_gfx_unit->base_unit.name = "NEMA_GFX"; #if LV_USE_NEMA_VG - /*Initiallize NemaVG */ + /*Initialize NemaVG */ nema_vg_init(LV_NEMA_GFX_MAX_RESX, LV_NEMA_GFX_MAX_RESY); /* Allocate VG Buffers*/ draw_nema_gfx_unit->paint = nema_vg_paint_create(); diff --git a/src/draw/nema_gfx/lv_draw_nema_gfx_stm32_hal.c b/src/draw/nema_gfx/lv_draw_nema_gfx_stm32_hal.c index 7b5b6f67a..7731922cd 100644 --- a/src/draw/nema_gfx/lv_draw_nema_gfx_stm32_hal.c +++ b/src/draw/nema_gfx/lv_draw_nema_gfx_stm32_hal.c @@ -99,7 +99,7 @@ int32_t nema_sys_init(void) /* Setup GPU2D Callback */ #if (USE_HAL_GPU2D_REGISTER_CALLBACKS == 1) - /* Register Command List Comlete Callback */ + /* Register Command List Complete Callback */ HAL_GPU2D_RegisterCommandListCpltCallback(&hgpu2d, GPU2D_CommandListCpltCallback); #endif diff --git a/src/draw/nema_gfx/lv_draw_nema_gfx_utils.h b/src/draw/nema_gfx/lv_draw_nema_gfx_utils.h index ece749517..a4f90b14c 100644 --- a/src/draw/nema_gfx/lv_draw_nema_gfx_utils.h +++ b/src/draw/nema_gfx/lv_draw_nema_gfx_utils.h @@ -112,7 +112,7 @@ uint32_t lv_nemagfx_blending_mode(lv_blend_mode_t lv_blend_mode); * * @param[in] gradient NemaGFX Gradient Buffer * - * @param[in] lv_grad Gradient descripto + * @param[in] lv_grad Gradient descriptor * * @param[in] opa Descriptor's opacity *