diff --git a/components/domotic_display/ihm.c b/components/domotic_display/ihm.c index c7ba195..c6bfd93 100644 --- a/components/domotic_display/ihm.c +++ b/components/domotic_display/ihm.c @@ -1,4 +1,3 @@ -#include "lv_theme_domotic.h" #include "ihm.h" #include "misc/lv_types.h" #include "esp_log.h" @@ -330,9 +329,6 @@ void app_main_display() lv_subject_init_pointer(&forecastH3Subj, &d1); - lv_theme_t * th = lv_theme_domotic_init(lv_display_get_default()); - lv_display_set_theme(lv_disp_get_default(), th); /* Assign theme to display */ - //lv_subject_init_string(&dateHeureSubj, dateHeureStr, NULL, 64, "--"); lv_style_init(&no_padding); diff --git a/components/domotic_display/test_host/main/CMakeLists.txt b/components/domotic_display/test_host/main/CMakeLists.txt index ef0fe21..f6ab536 100644 --- a/components/domotic_display/test_host/main/CMakeLists.txt +++ b/components/domotic_display/test_host/main/CMakeLists.txt @@ -1,5 +1,5 @@ set(LV_BUILD_USE_KCONFIG ON) -idf_component_register(SRCS "test_ihm.c" "../../ihm.c" "driver_backends.c" "sdl.c" "../../lv_theme_domotic.c" +idf_component_register(SRCS "test_ihm.c" "../../ihm.c" "driver_backends.c" "sdl.c" INCLUDE_DIRS "../../include" WHOLE_ARCHIVE