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:
Amir Gonnen
2019-01-31 09:39:59 +02:00
parent 159e07a8ea
commit cc77d78d5a

View File

@@ -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 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);
#endif
/**
* Set the behavior of the label with longer text then the object size