Bugfix Backlight_init should be called after lcd_init

the rest..

Change-Id: I50585ba2191aa8134de3045b1445859b27503a68
This commit is contained in:
William Wilgus 2020-11-13 13:57:39 -05:00
parent f65fb2a64a
commit 47e1f96427
4 changed files with 13 additions and 16 deletions

View file

@ -280,14 +280,13 @@ int main(void)
/* unmask T0 source in INTC */
INTC_MSK |= (1<<10);
backlight_init();
/* copy rb logo image */
for (i=0; i<240*74; i++)
framebuffer[i] = rockboxlogo[i];
lcm_init();
lcd_init();
backlight_init();
/* copy rb logo image */
for (i=0; i<240*74; i++)
framebuffer[i] = rockboxlogo[i];
lcd_update_rect(0,0,240,74);
/* ADEC_N63.BIN seems to setup P_CLK as 7.5MHz which is timer clk */