From 1a08f46329e9f6d7bd55a8a9ad45db27df8a7593 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Tue, 16 Sep 2008 08:09:44 +0000 Subject: Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c') diff --git a/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c b/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c index bbc20b6860..0ca18bee67 100644 --- a/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c +++ b/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c @@ -31,6 +31,7 @@ #include #include #include +#include #include "hd66789r.h" @@ -142,7 +143,7 @@ void lcd_enable(bool on) if (on) { _display_on(); -// lcd_call_enable_hook(); + lcd_call_enable_hook(); } else { /** Off sequence according to datasheet, p. 130 **/ lcd_write_reg(R_FRAME_CYCLE_CONTROL, 0x0002); /* EQ=0, 18 clks/line */ @@ -242,6 +243,13 @@ void lcd_blit_yuv(unsigned char *const src[3], int src_x, int src_y, int stride, int x, int y, int width, int height) { + (void) src; + (void) src_x; + (void) src_y; + (void) stride; + (void) x; + (void) y; + if (!display_on) return; -- cgit v1.2.3