mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Enable empty theme
This commit is contained in:
parent
e846d91cc0
commit
cda9436182
@ -5,7 +5,10 @@
|
||||
|
||||
#include "ArduinoJson.h"
|
||||
#include "ArduinoLog.h"
|
||||
// #include "StreamUtils.h" // For EEPromStream
|
||||
|
||||
#if HASP_USE_EEPROM > 0
|
||||
#include "StreamUtils.h" // For EEPromStream
|
||||
#endif
|
||||
|
||||
#include "lvgl.h"
|
||||
#include "lv_conf.h"
|
||||
@ -338,7 +341,7 @@ void haspSetup(void)
|
||||
/* ********** Theme Initializations ********** */
|
||||
if(haspThemeId == 8) haspThemeId = 1; // update old HASP id
|
||||
if(haspThemeId == 9) haspThemeId = 5; // update old material id
|
||||
if(haspThemeId <= 0 || haspThemeId > 5) haspThemeId = 1; // check bounds
|
||||
if(haspThemeId < 0 || haspThemeId > 5) haspThemeId = 1; // check bounds
|
||||
|
||||
lv_theme_t * th = NULL;
|
||||
lv_theme_hasp_flag_t hasp_flags = LV_THEME_HASP_FLAG_LIGHT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user