mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(slider): add const to the copy parameter in lv_slider_create
This commit is contained in:
parent
e23c2cf905
commit
0c81059272
@ -59,7 +59,7 @@ static lv_signal_cb_t ancestor_signal;
|
|||||||
* Pointer to an other slider to copy.
|
* Pointer to an other slider to copy.
|
||||||
* @return pointer to the created slider
|
* @return pointer to the created slider
|
||||||
*/
|
*/
|
||||||
lv_obj_t * lv_slider_create(lv_obj_t * parent, lv_obj_t * copy)
|
lv_obj_t * lv_slider_create(lv_obj_t * parent, const lv_obj_t * copy)
|
||||||
{
|
{
|
||||||
LV_LOG_TRACE("slider create started");
|
LV_LOG_TRACE("slider create started");
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ enum {
|
|||||||
* Pointer to an other slider to copy.
|
* Pointer to an other slider to copy.
|
||||||
* @return pointer to the created slider
|
* @return pointer to the created slider
|
||||||
*/
|
*/
|
||||||
lv_obj_t * lv_slider_create(lv_obj_t * parent, lv_obj_t * copy);
|
lv_obj_t * lv_slider_create(lv_obj_t * parent, const lv_obj_t * copy);
|
||||||
|
|
||||||
/*=====================
|
/*=====================
|
||||||
* Setter functions
|
* Setter functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user