lv_label_set_text_id must be declared conditionally otherwise lv_micropython would create a wrapper to an undefined function
This commit is contained in:
@@ -128,7 +128,9 @@ void lv_label_set_static_text(lv_obj_t * label, const char * text);
|
|||||||
* @param label pointer to a label object
|
* @param label pointer to a label object
|
||||||
* @param txt_id ID of the text
|
* @param txt_id ID of the text
|
||||||
*/
|
*/
|
||||||
|
#if USE_LV_MULTI_LANG
|
||||||
void lv_label_set_text_id(lv_obj_t * label, uint32_t txt_id);
|
void lv_label_set_text_id(lv_obj_t * label, uint32_t txt_id);
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the behavior of the label with longer text then the object size
|
* Set the behavior of the label with longer text then the object size
|
||||||
|
|||||||
Reference in New Issue
Block a user