fix: fix warnings
This commit is contained in:
@@ -654,7 +654,6 @@ lv_theme_t * lv_theme_material_init(lv_color_t color_primary, lv_color_t color_s
|
||||
spinner_init();
|
||||
chart_init();
|
||||
checkbox_init();
|
||||
keyboard_init();
|
||||
textarea_init();
|
||||
ddlist_init();
|
||||
roller_init();
|
||||
|
||||
@@ -73,7 +73,7 @@ static lv_signal_cb_t ancestor_signal;
|
||||
* Pointer to an other bar to copy.
|
||||
* @return pointer to the created bar
|
||||
*/
|
||||
lv_obj_t * lv_bar_create(lv_obj_t * parent, lv_obj_t * copy)
|
||||
lv_obj_t * lv_bar_create(lv_obj_t * parent, const lv_obj_t * copy)
|
||||
{
|
||||
LV_LOG_TRACE("lv_bar create started");
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ typedef uint8_t lv_bar_part_t;
|
||||
* Pointer to an other bar to copy.
|
||||
* @return pointer to the created bar
|
||||
*/
|
||||
lv_obj_t * lv_bar_create(lv_obj_t * parent, lv_obj_t * copy);
|
||||
lv_obj_t * lv_bar_create(lv_obj_t * parent, const lv_obj_t * copy);
|
||||
|
||||
/*=====================
|
||||
* Setter functions
|
||||
|
||||
Reference in New Issue
Block a user