format run code-formtter.sh

related to #2543
This commit is contained in:
Gabor Kiss-Vamosi
2021-09-13 14:04:16 +02:00
parent 8abd060a8a
commit d67dd943ca
124 changed files with 3497 additions and 3238 deletions

View File

@@ -52,9 +52,9 @@ static inline LV_ATTRIBUTE_TIMER_HANDLER uint32_t lv_task_handler(void)
* It also means it can cover any of the siblings.
* @param obj pointer to an object
*/
static inline void lv_obj_move_foreground(lv_obj_t* obj)
static inline void lv_obj_move_foreground(lv_obj_t * obj)
{
lv_obj_t* parent = lv_obj_get_parent(obj);
lv_obj_t * parent = lv_obj_get_parent(obj);
lv_obj_move_to_index(obj, lv_obj_get_child_cnt(parent) - 1);
}
@@ -64,7 +64,7 @@ static inline void lv_obj_move_foreground(lv_obj_t* obj)
* It also means any of the siblings can cover the object.
* @param obj pointer to an object
*/
static inline void lv_obj_move_background(lv_obj_t* obj)
static inline void lv_obj_move_background(lv_obj_t * obj)
{
lv_obj_move_to_index(obj, 0);
}
@@ -75,7 +75,7 @@ static inline void lv_obj_move_background(lv_obj_t* obj)
* DEPRECATED FUNCTIONS
**********************/
static inline uint32_t lv_obj_get_child_id(const struct _lv_obj_t* obj)
static inline uint32_t lv_obj_get_child_id(const struct _lv_obj_t * obj)
{
LV_LOG_WARN("lv_obj_get_child_id(obj) is deprecated, please use lv_obj_get_index(obj).");
return lv_obj_get_index(obj);