diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-11-13 13:57:39 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-11-13 13:57:39 -0500 |
commit | 47e1f964273e29c4f6f2923b3bb814b087c7af47 (patch) | |
tree | 54fce455e3715721e02461a9ef7d59e6fc7ef3a9 /utils/atj2137/adfuload/test_binary/lcm/test_lcm.c | |
parent | f65fb2a64abaf66b4d695be7fb3e114febea6bd1 (diff) | |
download | rockbox-47e1f964273e29c4f6f2923b3bb814b087c7af47.tar.gz rockbox-47e1f964273e29c4f6f2923b3bb814b087c7af47.zip |
Bugfix Backlight_init should be called after lcd_init
the rest..
Change-Id: I50585ba2191aa8134de3045b1445859b27503a68
Diffstat (limited to 'utils/atj2137/adfuload/test_binary/lcm/test_lcm.c')
-rw-r--r-- | utils/atj2137/adfuload/test_binary/lcm/test_lcm.c | 7 |
1 files changed, 3 insertions, 4 deletions
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) | |||
280 | /* unmask T0 source in INTC */ | 280 | /* unmask T0 source in INTC */ |
281 | INTC_MSK |= (1<<10); | 281 | INTC_MSK |= (1<<10); |
282 | 282 | ||
283 | lcm_init(); | ||
284 | lcd_init(); | ||
283 | backlight_init(); | 285 | backlight_init(); |
284 | 286 | ||
285 | /* copy rb logo image */ | 287 | /* copy rb logo image */ |
286 | for (i=0; i<240*74; i++) | 288 | for (i=0; i<240*74; i++) |
287 | framebuffer[i] = rockboxlogo[i]; | 289 | framebuffer[i] = rockboxlogo[i]; |
288 | |||
289 | lcm_init(); | ||
290 | lcd_init(); | ||
291 | lcd_update_rect(0,0,240,74); | 290 | lcd_update_rect(0,0,240,74); |
292 | 291 | ||
293 | /* ADEC_N63.BIN seems to setup P_CLK as 7.5MHz which is timer clk */ | 292 | /* ADEC_N63.BIN seems to setup P_CLK as 7.5MHz which is timer clk */ |