fix warnigs introduced by 3fb8baf5

This commit is contained in:
Gabor Kiss-Vamosi
2021-07-06 13:55:16 +02:00
parent 43638ceb4b
commit a4915d3a34
3 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
/**********************
* STATIC PROTOTYPES
**********************/
static void my_constructor(lv_obj_class_t * class_p, lv_obj_t * obj);
static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
static void month_event_cb(lv_event_t * e);
/**********************
@@ -61,7 +61,7 @@ lv_obj_t * lv_calendar_header_arrow_create(lv_obj_t * parent, lv_obj_t * calenda
* STATIC FUNCTIONS
**********************/
static void my_constructor(lv_obj_class_t * class_p, lv_obj_t * obj)
static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj)
{
LV_TRACE_OBJ_CREATE("begin");

View File

@@ -24,7 +24,7 @@
/**********************
* STATIC PROTOTYPES
**********************/
static void my_constructor(lv_obj_class_t * class_p, lv_obj_t * obj);
static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
static void year_event_cb(lv_event_t * e);
static void month_event_cb(lv_event_t * e);
@@ -70,7 +70,7 @@ lv_obj_t * lv_calendar_header_dropdown_create(lv_obj_t * parent, lv_obj_t * cale
* STATIC FUNCTIONS
**********************/
static void my_constructor(lv_obj_class_t * class_p, lv_obj_t * obj)
static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj)
{
LV_TRACE_OBJ_CREATE("begin");

View File

@@ -20,7 +20,7 @@
/**********************
* STATIC PROTOTYPES
**********************/
static void lv_spinner_constructor(lv_obj_class_t * class_p, lv_obj_t * obj);
static void lv_spinner_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
static void arc_anim_start_angle(void * obj, int32_t v);
static void arc_anim_end_angle(void * obj, int32_t v);
@@ -63,7 +63,7 @@ lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_leng
* STATIC FUNCTIONS
**********************/
static void lv_spinner_constructor(lv_obj_class_t * class_p, lv_obj_t * obj)
static void lv_spinner_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj)
{
LV_TRACE_OBJ_CREATE("begin");