I am currently working on a uefi driver for lvgl.
I have to cleanup all input devices, displays and filesystem drivers. I can cleanup input devices and displays when their LV_EVENT_DELETE event is raised. But i have found no “safe” way to cleanup the filesystem drivers.
One way would be to probe all driver letters with lv_fs_get_drv
and check if the have a driver assigned, but there is no counterpart for lv_fs_drv_register
.
Is it safe to assume that there will be no calls to the filesystem drivers once lv_deinit has been entered and i can just register NULL after I cleaned up the driver?