diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-11-13 19:58:36 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-11-13 19:58:48 -0500 |
commit | d36ef610c294389acb266fcd976637b1e774b2aa (patch) | |
tree | 4efaacd81cb8ba96a005406c821d4ceeba76b67f | |
parent | 1fb906500a44110e3f41ca4ef2aa347f9485fd58 (diff) | |
download | rockbox-d36ef610c2.tar.gz rockbox-d36ef610c2.zip |
x1000: fix yellow in prior commit
Change-Id: I5809fab0148d4869cdc86212e8386590090d4320
-rw-r--r-- | firmware/target/mips/ingenic_x1000/lcd-x1000.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/lcd-x1000.c b/firmware/target/mips/ingenic_x1000/lcd-x1000.c index 58c4bd6a61..721fcbf59b 100644 --- a/firmware/target/mips/ingenic_x1000/lcd-x1000.c +++ b/firmware/target/mips/ingenic_x1000/lcd-x1000.c @@ -344,6 +344,8 @@ static void lcd_dma_start(DMA_Mode mode) jz_writef(LCD_CTRL, ENABLE(1)); // } + (void)mode; + lcd_on = true; } @@ -379,7 +381,7 @@ static void lcd_dma_stop(DMA_Mode mode) lcd_wait(WAIT_QD); } else { // MODE_SLEEP jz_writef(LCD_CTRL, ENABLE(0)); - + /* Usual case -- wait for EOF, wait for FIFO to drain */ lcd_wait(SLEEP_EOF); lcd_wait(SLEEP_FRAME); |