From f548336e271f970d7ccd8a84e85ce8590ff7deab Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Sat, 29 Sep 2007 20:56:07 +0000 Subject: Fix the LCD line remaining active after shutdown on grayscale ipods (FS#5199). Original patch by Tomasz Mon, modified by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14907 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipod1g2g.h | 3 +++ firmware/export/config-ipod3g.h | 3 +++ firmware/export/config-ipod4g.h | 3 +++ firmware/export/config-ipodmini.h | 3 +++ firmware/export/config-ipodmini2g.h | 3 +++ firmware/export/lcd.h | 4 ++++ 6 files changed, 19 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h index d51a743..138ef8d 100644 --- a/firmware/export/config-ipod1g2g.h +++ b/firmware/export/config-ipod1g2g.h @@ -17,6 +17,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if the LCD needs to be shutdown */ +#define HAVE_LCD_SHUTDOWN + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h index 6555aad..e3c2a92 100644 --- a/firmware/export/config-ipod3g.h +++ b/firmware/export/config-ipod3g.h @@ -17,6 +17,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if the LCD needs to be shutdown */ +#define HAVE_LCD_SHUTDOWN + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h index 28f7b8b..d75650b 100644 --- a/firmware/export/config-ipod4g.h +++ b/firmware/export/config-ipod4g.h @@ -27,6 +27,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if the LCD needs to be shutdown */ +#define HAVE_LCD_SHUTDOWN + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index a7d8642..3b24737 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.h @@ -17,6 +17,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if the LCD needs to be shutdown */ +#define HAVE_LCD_SHUTDOWN + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h index d8c5f9f..34e5f5a 100644 --- a/firmware/export/config-ipodmini2g.h +++ b/firmware/export/config-ipodmini2g.h @@ -17,6 +17,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if the LCD needs to be shutdown */ +#define HAVE_LCD_SHUTDOWN + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 2ea9906..eb67a12 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -288,6 +288,10 @@ extern bool lcd_enabled(void); extern void lcd_sleep(void); #endif /* HAVE_LCD_SLEEP */ +#ifdef HAVE_LCD_SHUTDOWN +void lcd_shutdown(void); +#endif + /* Bitmap formats */ enum { -- cgit v1.1