summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/x5/lcd-x5.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-07-25 07:19:35 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-07-25 07:19:35 +0000
commit52aaa75e83fc34524625dfa51dc0b7c1baacbac5 (patch)
treef62eb0a1de09000876843ddcb39c3ab311d67b63 /firmware/target/coldfire/iaudio/x5/lcd-x5.c
parent943ff8dc67049846a6e2bb3501a90e378e05e556 (diff)
Restore the default backlight settings broken by Rani
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10314 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5/lcd-x5.c')
-rwxr-xr-xfirmware/target/coldfire/iaudio/x5/lcd-x5.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/lcd-x5.c b/firmware/target/coldfire/iaudio/x5/lcd-x5.c
index 1adcf6aaea..7c155eac8f 100755
--- a/firmware/target/coldfire/iaudio/x5/lcd-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/lcd-x5.c
@@ -137,6 +137,11 @@ inline void lcd_write_data(const unsigned short* p_bytes, int count)
/*** hardware configuration ***/
+int lcd_default_contrast(void)
+{
+ return 16;
+}
+
void lcd_set_contrast(int val)
{
if (val >= 15) // val must'nt be 15 or 31