summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-07-25 11:15:50 +0000
committerJens Arnold <amiconn@rockbox.org>2006-07-25 11:15:50 +0000
commit9051afa8a061152941ed4cf99e0ceb9bc4a3caf1 (patch)
tree40883fe94c814baadeb6a08d0060dd3c8dea7015 /uisimulator
parent7136fd9bb6f589ae873057aa9731c45f17a7b339 (diff)
downloadrockbox-9051afa8a061152941ed4cf99e0ceb9bc4a3caf1.tar.gz
rockbox-9051afa8a061152941ed4cf99e0ceb9bc4a3caf1.tar.bz2
rockbox-9051afa8a061152941ed4cf99e0ceb9bc4a3caf1.zip
Contrast setting cleanup: * Only include contrast setting for targets where it's used. * Make lcd_default_contrast() a stub for simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10317 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/lcd-common.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index a28e619706..a50745a334 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -53,9 +53,9 @@ void lcd_set_invert_display(bool invert)
(void)invert;
}
-void lcd_remote_set_invert_display(bool invert)
+int lcd_default_contrast(void)
{
- (void)invert;
+ return 28;
}
#ifdef HAVE_REMOTE_LCD
@@ -76,4 +76,9 @@ void lcd_remote_set_flip(bool yesno)
{
(void)yesno;
}
+
+void lcd_remote_set_invert_display(bool invert)
+{
+ (void)invert;
+}
#endif