When this line of code is executed, why does this error occur and the screen is dead?


Hello again. Please stop making new topics for the same question, this is the third time you have asked this.

Could you please tell us more about your setup? Are you using multi threading?

Yes,it’s multi threading.

Then that is probably the issue. LVGL does not really support using multiple threads for LVGL in your program (not “out of the box” anyway).

Try making a simple application with just one thread for LVGL and see if this issue still occurs.

I see, maybe multiple threads cause this error.

Hi @axgmgm1 ,

To help you with this issue we will need to see your code can you post a minimal version which causes the crash to happen?

Kind Regards,