From 2bfcce40e25b77aa8e064c3e016c5a76e634667a Mon Sep 17 00:00:00 2001 From: Erich Styger Date: Wed, 26 Dec 2018 07:58:06 +0100 Subject: [PATCH] typo and spelling fixes in comments --- lv_core/lv_group.c | 2 +- lv_core/lv_obj.c | 4 ++-- lv_core/lv_obj.h | 8 ++++---- lv_core/lv_refr.c | 4 ++-- lv_core/lv_refr.h | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lv_core/lv_group.c b/lv_core/lv_group.c index 7b399a978..c5c802363 100644 --- a/lv_core/lv_group.c +++ b/lv_core/lv_group.c @@ -89,7 +89,7 @@ void lv_group_add_obj(lv_group_t * group, lv_obj_t * obj) { if(group == NULL) return; - /*If the object is already in a group and focused then defocuse it*/ + /*If the object is already in a group and focused then defocus it*/ if(obj->group_p) { if(lv_obj_is_focused(obj)) { lv_group_focus_next(obj->group_p); diff --git a/lv_core/lv_obj.c b/lv_core/lv_obj.c index 7871bed76..3d35865c8 100644 --- a/lv_core/lv_obj.c +++ b/lv_core/lv_obj.c @@ -81,7 +81,7 @@ void lv_init(void) /*Init. the sstyles*/ lv_style_init(); - /*Init. the screen refresh system*/ + /*Initialize the screen refresh system*/ lv_refr_init(); /*Create the default screen*/ @@ -1352,7 +1352,7 @@ bool lv_obj_get_drag(const lv_obj_t * obj) } /** - * Get the drag thow enable attribute of an object + * Get the drag throw enable attribute of an object * @param obj pointer to an object * @return true: drag throw is enabled */ diff --git a/lv_core/lv_obj.h b/lv_core/lv_obj.h index 9ebc7a633..9c8a08ede 100644 --- a/lv_core/lv_obj.h +++ b/lv_core/lv_obj.h @@ -34,7 +34,7 @@ extern "C" { /*Error check of lv_conf.h*/ #if LV_HOR_RES == 0 || LV_VER_RES == 0 -#error "LittlevGL: LV_HOR_RES and LV_VER_RES must be greater then 0" +#error "LittlevGL: LV_HOR_RES and LV_VER_RES must be greater than 0" #endif #if LV_ANTIALIAS > 1 @@ -655,7 +655,7 @@ bool lv_obj_get_click(const lv_obj_t * obj); /** * Get the top enable attribute of an object * @param obj pointer to an object - * @return true: the auto top feture is enabled + * @return true: the auto top feature is enabled */ bool lv_obj_get_top(const lv_obj_t * obj); @@ -667,7 +667,7 @@ bool lv_obj_get_top(const lv_obj_t * obj); bool lv_obj_get_drag(const lv_obj_t * obj); /** - * Get the drag thow enable attribute of an object + * Get the drag throw enable attribute of an object * @param obj pointer to an object * @return true: drag throw is enabled */ @@ -764,7 +764,7 @@ void * lv_obj_get_group(const lv_obj_t * obj); /** - * Tell whether the ohe object is the focused object of a group or not. + * Tell whether the object is the focused object of a group or not. * @param obj pointer to an object * @return true: the object is focused, false: the object is not focused or not in a group */ diff --git a/lv_core/lv_refr.c b/lv_core/lv_refr.c index 93a81c34c..55f6e39b5 100644 --- a/lv_core/lv_refr.c +++ b/lv_core/lv_refr.c @@ -73,9 +73,9 @@ void lv_refr_init(void) /** * Redraw the invalidated areas now. - * Normally the redarwing is peridocally executed in `lv_task_handler` but a long blocking process can + * Normally the redrawing is periodically executed in `lv_task_handler` but a long blocking process can * prevent the call of `lv_task_handler`. In this case if the the GUI is updated in the process (e.g. progress bar) - * this function can be called when the screen shoud be updated. + * this function can be called when the screen should be updated. */ void lv_refr_now(void) { diff --git a/lv_core/lv_refr.h b/lv_core/lv_refr.h index 11e0f4f70..75b22d017 100644 --- a/lv_core/lv_refr.h +++ b/lv_core/lv_refr.h @@ -47,9 +47,9 @@ void lv_refr_init(void); /** * Redraw the invalidated areas now. - * Normally the redarwing is peridocally executed in `lv_task_handler` but a long blocking process can + * Normally the redrawing is periodically executed in `lv_task_handler` but a long blocking process can * prevent the call of `lv_task_handler`. In this case if the the GUI is updated in the process (e.g. progress bar) - * this function can be called when the screen shoud be updated. + * this function can be called when the screen should be updated. */ void lv_refr_now(void);