diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-18 12:27:20 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-18 12:27:20 +0000 |
commit | 6cbc701d2a9890baa49f69f1692dddebf39e30cb (patch) | |
tree | 08f098ca1eb9ab308242e3e4dc1584691152ea1b /firmware/drivers | |
parent | d3735578c3d957e7bb68e2838024ab57bceade68 (diff) | |
download | rockbox-6cbc701d2a9890baa49f69f1692dddebf39e30cb.tar.gz rockbox-6cbc701d2a9890baa49f69f1692dddebf39e30cb.zip |
Rename sdl lcd initialization to (remote_)lcd_init_device which enables removing two #ifdef SIMULATOR and makes it happen as on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-1bit-vert.c | 2 | ||||
-rw-r--r-- | firmware/drivers/lcd-2bit-vi.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c index fcf5dfcc47..fd77ba7578 100644 --- a/firmware/drivers/lcd-1bit-vert.c +++ b/firmware/drivers/lcd-1bit-vert.c | |||
@@ -105,9 +105,7 @@ void LCDFN(update_viewport_rect)(int x, int y, int width, int height) | |||
105 | void LCDFN(init)(void) | 105 | void LCDFN(init)(void) |
106 | { | 106 | { |
107 | LCDFN(clear_display)(); | 107 | LCDFN(clear_display)(); |
108 | #ifndef SIMULATOR | ||
109 | LCDFN(init_device)(); | 108 | LCDFN(init_device)(); |
110 | #endif | ||
111 | #ifdef MAIN_LCD | 109 | #ifdef MAIN_LCD |
112 | scroll_init(); | 110 | scroll_init(); |
113 | #endif | 111 | #endif |
diff --git a/firmware/drivers/lcd-2bit-vi.c b/firmware/drivers/lcd-2bit-vi.c index 803a3678d0..5dd94a15a0 100644 --- a/firmware/drivers/lcd-2bit-vi.c +++ b/firmware/drivers/lcd-2bit-vi.c | |||
@@ -122,9 +122,7 @@ void LCDFN(init)(void) | |||
122 | { | 122 | { |
123 | LCDFN(set_viewport)(NULL); | 123 | LCDFN(set_viewport)(NULL); |
124 | LCDFN(clear_display)(); | 124 | LCDFN(clear_display)(); |
125 | #ifndef SIMULATOR | ||
126 | LCDFN(init_device)(); | 125 | LCDFN(init_device)(); |
127 | #endif | ||
128 | #ifdef MAIN_LCD | 126 | #ifdef MAIN_LCD |
129 | scroll_init(); | 127 | scroll_init(); |
130 | #endif | 128 | #endif |