From 47e1f964273e29c4f6f2923b3bb814b087c7af47 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 13 Nov 2020 13:57:39 -0500 Subject: Bugfix Backlight_init should be called after lcd_init the rest.. Change-Id: I50585ba2191aa8134de3045b1445859b27503a68 --- utils/atj2137/adfuload/test_binary/lcm/test_lcm.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'utils/atj2137/adfuload/test_binary/lcm/test_lcm.c') diff --git a/utils/atj2137/adfuload/test_binary/lcm/test_lcm.c b/utils/atj2137/adfuload/test_binary/lcm/test_lcm.c index f795ccd1d0..581cefd3b0 100644 --- a/utils/atj2137/adfuload/test_binary/lcm/test_lcm.c +++ b/utils/atj2137/adfuload/test_binary/lcm/test_lcm.c @@ -280,14 +280,13 @@ int main(void) /* unmask T0 source in INTC */ INTC_MSK |= (1<<10); + lcm_init(); + lcd_init(); backlight_init(); - /* copy rb logo image */ + /* copy rb logo image */ for (i=0; i<240*74; i++) framebuffer[i] = rockboxlogo[i]; - - lcm_init(); - lcd_init(); lcd_update_rect(0,0,240,74); /* ADEC_N63.BIN seems to setup P_CLK as 7.5MHz which is timer clk */ -- cgit v1.2.3