Reinstate framebuffer setup on initScreens to allow old Luma to be chainloaded if FB address changes in b9s/new Luma, remove useless clearScreens for the alternate FBs after the first init

This commit is contained in:
Aurora Wright
2017-07-09 19:06:42 +02:00
parent 557f2057f7
commit 37ba2c15de
5 changed files with 20 additions and 11 deletions

View File

@@ -55,6 +55,7 @@ struct fb {
typedef enum
{
INIT_SCREENS = 0,
SETUP_FRAMEBUFFERS,
CLEAR_SCREENS,
SWAP_FRAMEBUFFERS,
UPDATE_BRIGHTNESS,