I was trying to use a simple button to call a test function, the exported code is:
static void ui_event_buttonTest(lv_event_t *e) {
lv_event_code_t event = lv_event_get_code(e);
lv_obj_t *ta = lv_event_get_target(e);
if (event == LV_EVENT_CLICKED)
test_button(obj, event);
}
but in ui_helper.c I have:
void test_button(lv_event_t * e)
which cannot be compiled because the function takes only one argument.
I could manually add my own function, but it would be overwritten with every export.