mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
echoplayer: don't wake LCD automatically in bootloader
Normally the bootloader won't enable the LCD, but we still want to call lcd_init() at startup to keep the code simple. Change-Id: I866ecd7c81b6c5e6acdd57f5d7680400df3f54f4
This commit is contained in:
parent
1afa2ca50d
commit
721bfac475
1 changed files with 2 additions and 0 deletions
|
|
@ -215,8 +215,10 @@ void lcd_init_device(void)
|
|||
stm_spi_init(&spi, &spi_cfg);
|
||||
nvic_enable_irq(NVIC_IRQN_SPI5);
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
/* Enable LTDC and LCD controller */
|
||||
wake_lcd();
|
||||
#endif
|
||||
}
|
||||
|
||||
bool lcd_active(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue