Small typo and don't show warning on comment attribute

This commit is contained in:
fvanroie 2021-04-22 01:48:51 +02:00
parent b791af3e41
commit d30038db6e
3 changed files with 5 additions and 1 deletions

View File

@ -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);
}

View File

@ -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

View File

@ -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)]);