1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

chore: fix typos in nema_gfx (#7519)

Signed-off-by: bjsylvia <bjsylvia@163.com>
This commit is contained in:
bjsylvia 2024-12-27 12:04:24 +08:00 committed by GitHub
parent a356915267
commit 741d3d59fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ static int32_t nema_gfx_delete(lv_draw_unit_t * draw_unit);
void lv_draw_nema_gfx_init(void) 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)); 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(); nema_init();
draw_nema_gfx_unit->base_unit.dispatch_cb = nema_gfx_dispatch; 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"; draw_nema_gfx_unit->base_unit.name = "NEMA_GFX";
#if LV_USE_NEMA_VG #if LV_USE_NEMA_VG
/*Initiallize NemaVG */ /*Initialize NemaVG */
nema_vg_init(LV_NEMA_GFX_MAX_RESX, LV_NEMA_GFX_MAX_RESY); nema_vg_init(LV_NEMA_GFX_MAX_RESX, LV_NEMA_GFX_MAX_RESY);
/* Allocate VG Buffers*/ /* Allocate VG Buffers*/
draw_nema_gfx_unit->paint = nema_vg_paint_create(); draw_nema_gfx_unit->paint = nema_vg_paint_create();

View File

@ -99,7 +99,7 @@ int32_t nema_sys_init(void)
/* Setup GPU2D Callback */ /* Setup GPU2D Callback */
#if (USE_HAL_GPU2D_REGISTER_CALLBACKS == 1) #if (USE_HAL_GPU2D_REGISTER_CALLBACKS == 1)
/* Register Command List Comlete Callback */ /* Register Command List Complete Callback */
HAL_GPU2D_RegisterCommandListCpltCallback(&hgpu2d, GPU2D_CommandListCpltCallback); HAL_GPU2D_RegisterCommandListCpltCallback(&hgpu2d, GPU2D_CommandListCpltCallback);
#endif #endif

View File

@ -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] gradient NemaGFX Gradient Buffer
* *
* @param[in] lv_grad Gradient descripto * @param[in] lv_grad Gradient descriptor
* *
* @param[in] opa Descriptor's opacity * @param[in] opa Descriptor's opacity
* *