Open
Description
Describe the bug
eez-flow.cpp (and some other files) that get generated include this code:
#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
and
#if LVGL_VERSION_MAJOR >= 9
#if LVGL_VERSION_MINOR >= 3
lv_dropdown_set_selected(obj, value, LV_ANIM_OFF);
#else
lv_dropdown_set_selected(obj, value);
#endif
#else
lv_dropdown_set_selected(obj, (uint16_t)value);
#endif
Unfortunately, LVGL 9.3 uses this signature:
lv_dropdown_set_selected(target, intValue);
In other words, you get a nasty compiler error every time you re-generate.
Desktop (please complete the following information):
- OS: Windows, ESP32, the lot...
LVGL version (if used)
- 9.3
Solution
Should probably be LVGL_VERSION_MINOR > 3
.