-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello team,
I'm encountering a compiler error related to a malformed call to lv_dropdown_set_selected() in the EEZ Framework. Specifically, the following conditional compilation code appears to be incorrect:
#if LVGL_VERSION_MAJOR >= 9 && LVGL_VERSION_MINOR >= 3
lv_dropdown_set_selected(target, intValue, LV_ANIM_OFF);
#else
lv_dropdown_set_selected(target, intValue);
#endif
According to the LVGL 9.3 API documentation, the correct signature of lv_dropdown_set_selected() only accepts two parameters:
LVGL 9.3 API Reference – lv_dropdown_set_selected
void lv_dropdown_set_selected(lv_obj_t * obj, uint32_t sel);
Passing three parameters causes a build failure with LVGL 9.3+. I can manually fix this by adjusting the function call, but since each Studio build regenerates the code, the issue reappears.
Would it be possible to fix this in the code generation logic to avoid manual patching?
Thanks again for your excellent work on the EEZ Studio and framework—it's greatly appreciated!
Best regards,
João