diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-07-25 07:19:35 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-07-25 07:19:35 +0000 |
commit | 52aaa75e83fc34524625dfa51dc0b7c1baacbac5 (patch) | |
tree | f62eb0a1de09000876843ddcb39c3ab311d67b63 /firmware/target/coldfire/iaudio/x5/lcd-x5.c | |
parent | 943ff8dc67049846a6e2bb3501a90e378e05e556 (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-x | firmware/target/coldfire/iaudio/x5/lcd-x5.c | 5 |
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 |