fix warnings and make tests working

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-14 22:07:38 +01:00
parent bb08660cb6
commit 02c19eacab
66 changed files with 1102 additions and 1187 deletions

View File

@@ -40,6 +40,8 @@ void lv_example_img_2(void)
static void slider_event_cb(lv_obj_t * slider, lv_event_t event)
{
LV_UNUSED(slider);
if(event == LV_EVENT_VALUE_CHANGED) {
/* Recolor the image based on the sliders' values */
lv_color_t color = lv_color_make(lv_slider_get_value(red_slider), lv_slider_get_value(green_slider), lv_slider_get_value(blue_slider));