From 9b0fd975870f0029564de6b12717771aebed2203 Mon Sep 17 00:00:00 2001 From: Amir Gonnen Date: Wed, 29 Apr 2020 02:25:39 +0300 Subject: [PATCH] Small fixes required for Micropython binding (#1479) --- src/lv_core/lv_style.h | 2 +- src/lv_widgets/lv_gauge.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lv_core/lv_style.h b/src/lv_core/lv_style.h index 52b611901..a4a42a37c 100644 --- a/src/lv_core/lv_style.h +++ b/src/lv_core/lv_style.h @@ -272,7 +272,7 @@ void lv_style_list_add_style(lv_style_list_t * list, lv_style_t * style); * @param style_list pointer to a style list * @param style pointer to a style to remove */ -void lv_style_list_remove_style(lv_style_list_t *, lv_style_t *); +void lv_style_list_remove_style(lv_style_list_t * list, lv_style_t * style); /** * Remove all styles added from style list, clear the local style, transition style and free all allocated memories. diff --git a/src/lv_widgets/lv_gauge.h b/src/lv_widgets/lv_gauge.h index 1c26f4078..5ed74b529 100644 --- a/src/lv_widgets/lv_gauge.h +++ b/src/lv_widgets/lv_gauge.h @@ -35,7 +35,7 @@ extern "C" { * TYPEDEFS **********************/ -typedef void (*lv_gauge_format_cb_t)(lv_obj_t * gauge, char buf[], int bufsize, int32_t value); +typedef void (*lv_gauge_format_cb_t)(lv_obj_t * gauge, char * buf, int bufsize, int32_t value); /*Data of gauge*/ typedef struct {