diff --git a/src/hasp/hasp_attribute.cpp b/src/hasp/hasp_attribute.cpp index 7378e2dd..35684aea 100644 --- a/src/hasp/hasp_attribute.cpp +++ b/src/hasp/hasp_attribute.cpp @@ -1792,6 +1792,9 @@ void hasp_process_obj_attribute(lv_obj_t* obj, const char* attr_p, const char* p } goto attribute_not_found; + case ATTR_COMMENT: + break; // attribute_found + default: hasp_local_style_attr(obj, attr, attr_hash, payload, update); } diff --git a/src/hasp/hasp_attribute.h b/src/hasp/hasp_attribute.h index 7a4f11f7..ca260c85 100644 --- a/src/hasp/hasp_attribute.h +++ b/src/hasp/hasp_attribute.h @@ -266,6 +266,7 @@ _HASP_ATTRIBUTE(SCALE_END_LINE_WIDTH, scale_end_line_width, lv_style_int_t) #define ATTR_BACK 57799 /* Object Attributes */ +#define ATTR_COMMENT 62559 #define ATTR_X 120 #define ATTR_Y 121 #define ATTR_W 119 diff --git a/src/hasp_config.cpp b/src/hasp_config.cpp index 4240ceb6..05a81875 100644 --- a/src/hasp_config.cpp +++ b/src/hasp_config.cpp @@ -380,7 +380,7 @@ void configSetup() //#if HASP_USE_SPIFFS > 0 LOG_INFO(TAG_DEBG, F("Loading debug settings")); debugSetConfig(settings[FPSTR(FP_DEBUG)]); - LOG_INFO(TAG_GPIO, F("Loading GUI settings")); + LOG_INFO(TAG_GUI, F("Loading GUI settings")); guiSetConfig(settings[FPSTR(FP_GUI)]); LOG_INFO(TAG_HASP, F("Loading HASP settings")); haspSetConfig(settings[FPSTR(FP_HASP)]);