fix(examples): add casts (#7831)

This commit is contained in:
Felix Biego
2025-02-25 01:23:54 +03:00
committed by GitHub
parent 27b113e270
commit db1daf55d8
47 changed files with 110 additions and 160 deletions

View File

@@ -17,7 +17,7 @@ void lv_example_tileview_1(void)
lv_obj_center(label);
/*Tile2: a button*/
lv_obj_t * tile2 = lv_tileview_add_tile(tv, 0, 1, LV_DIR_TOP | LV_DIR_RIGHT);
lv_obj_t * tile2 = lv_tileview_add_tile(tv, 0, 1, (lv_dir_t)(LV_DIR_TOP | LV_DIR_RIGHT));
lv_obj_t * btn = lv_button_create(tile2);