Issue with Roller/Drop Down List set options.
CPU: Xilinx Zynq
What do you experience?
I am creating a large list of ‘wordy’ objects using a roller based on a file downloaded from the Internet. This code has been working happily for many months now, but today the system hung. Upon investigation it seems I have an issue with the function:
void lv_ddlist_set_options(lv_obj_t * ddlist, const char * options);
The variable “i” which is declared on line 188 of lv_ddlist.c is a uint16_t, this limits the maximum text buffer size passed to the function for processing to 64 Kilobytes. In my case I passed about 66 Kilobytes which caused the variable “i” to wrap so the function never returns as it can not advance far enough into the text buffer to find the terminating NULL character.
What do you expect?
Is there any reason why the variable “i” can not be declared as a uint32_t removing this limitation?