assign theme to the display + minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-26 09:51:27 +01:00
parent 8a7f9cb131
commit 0ab6433c66
35 changed files with 301 additions and 293 deletions

View File

@@ -152,7 +152,7 @@ static void lv_led_constructor(lv_obj_t * obj, const lv_obj_t * copy)
{
LV_UNUSED(copy);
lv_led_t * led = (lv_led_t *) obj;
led->color = lv_theme_get_color_primary();
led->color = lv_theme_get_color_primary(obj);
led->bright = LV_LED_BRIGHT_MAX;
led->bright = LV_LED_BRIGHT_MAX;