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

chore: fix typos in drivers (#7517)

Signed-off-by: bjsylvia <bjsylvia@163.com>
This commit is contained in:
bjsylvia 2024-12-27 12:05:07 +08:00 committed by GitHub
parent 9af3fc058e
commit 664d41748d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -30,13 +30,13 @@ extern "C" {
**********************/
/**
* Create a display using Renesas' GLCDC peripherial in DIRECT render mode
* Create a display using Renesas' GLCDC peripheral in DIRECT render mode
* @return pointer to the created display
*/
lv_display_t * lv_renesas_glcdc_direct_create(void);
/**
* Create a display using Renesas' GLCDC peripherial in PARTIAL render mode
* Create a display using Renesas' GLCDC peripheral in PARTIAL render mode
* @param buf1 first buffer
* @param buf2 second buffer (can be `NULL`)
* @param buf_size buffer size in byte

View File

@ -245,7 +245,7 @@ struct window {
};
/*********************************
* STATIC VARIABLES and FUNTIONS
* STATIC VARIABLES and FUNCTIONS
*********************************/
static struct application application;
@ -2569,7 +2569,7 @@ lv_display_t * lv_wayland_window_create(uint32_t hor_res, uint32_t ver_res, char
#if LV_WAYLAND_WINDOW_DECORATIONS
/* Decorations are enabled, caculate the body size */
/* Decorations are enabled, calculate the body size */
if(!application.opt_disable_decorations) {
window_width = hor_res + (2 * BORDER_SIZE);
window_height = ver_res + (TITLE_BAR_HEIGHT + (2 * BORDER_SIZE));

View File

@ -175,7 +175,7 @@ smm_group_t * smm_create(void)
{
struct smm_group * grp;
/* Allocate and intialize a new buffer group */
/* Allocate and initialize a new buffer group */
grp = malloc(sizeof(struct smm_group));
if(grp != NULL) {
grp->size = smm_instance.page_sz;
@ -644,7 +644,7 @@ struct smm_buffer * alloc_buffer(struct smm_buffer * last, size_t offset)
offset
};
/* Allocate and intialize a new buffer (including linking in to pool) */
/* Allocate and initialize a new buffer (including linking in to pool) */
buf = malloc(sizeof(struct smm_buffer));
if(buf != NULL) {
memcpy(&buf->props, &initial_props, sizeof(struct smm_buffer_properties));