Closed rtwfroody closed 3 years ago
It needs to be set to something here, else the default 320x240 resolution will be sued.
You're right. I thought it didn't because it works better if I don't set it, and the fb driver prints out the actual size. But it doesn't change what lvgl thinks the size of the screen is. I guess that's hard to do at that stage.
If vinfo in fbdev.c was global, you could take the detected screen size from there, but it's not.
Specifying the resolution is bad if it's wrong, and the fb driver autodetects it in any case.