echoplayer: don't wake LCD automatically in bootloader

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 721bfac475bce05fae6ea62a80bdd12598c4ab2b
Author: Aidan MacDonald <[email protected]>
Date:   Sun Jan 18 19:43:18 2026 +0000

    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

diff --git a/firmware/target/arm/stm32/echoplayer/lcd-echoplayer.c b/firmware/target/arm/stm32/echoplayer/lcd-echoplayer.c
index 0800f3aad8..bd7ead842c 100644
--- a/firmware/target/arm/stm32/echoplayer/lcd-echoplayer.c
+++ b/firmware/target/arm/stm32/echoplayer/lcd-echoplayer.c
@@ -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)
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.