LVGL Memory Permission Error at the end of initialize.cpp


I made an auton selector using PROS and LVGL and got it to work properly. I put all my lvgl code in an autonSelector(); function, which I called in initialize.cpp. However, at the end of initialize.cpp, after I’ve selected auton, the brain always gets a Memory Permission error. Does anyone know why this happens?

would need to see the code, usually this is due to accessing a NULL ptr.

1 Like

Finally managed to isolate the problem and it wasn’t related to LVGL at all. It was an error with setting up our subsystems in opcontrol()