mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-31 16:06:37 +08:00
Remove incorrect assert
This commit is contained in:
@@ -308,7 +308,6 @@ void lv_label_set_array_text(lv_obj_t * label, const char * array, uint16_t size
|
|||||||
void lv_label_set_static_text(lv_obj_t * label, const char * text)
|
void lv_label_set_static_text(lv_obj_t * label, const char * text)
|
||||||
{
|
{
|
||||||
LV_ASSERT_OBJ(label, LV_OBJX_NAME);
|
LV_ASSERT_OBJ(label, LV_OBJX_NAME);
|
||||||
LV_ASSERT_STR(text);
|
|
||||||
|
|
||||||
lv_label_ext_t * ext = lv_obj_get_ext_attr(label);
|
lv_label_ext_t * ext = lv_obj_get_ext_attr(label);
|
||||||
if(ext->static_txt == 0 && ext->text != NULL) {
|
if(ext->static_txt == 0 && ext->text != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user