From 6cbc701d2a9890baa49f69f1692dddebf39e30cb Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 18 May 2010 12:27:20 +0000 Subject: 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 --- firmware/drivers/lcd-1bit-vert.c | 2 -- firmware/drivers/lcd-2bit-vi.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'firmware/drivers') 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) void LCDFN(init)(void) { LCDFN(clear_display)(); -#ifndef SIMULATOR LCDFN(init_device)(); -#endif #ifdef MAIN_LCD scroll_init(); #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) { LCDFN(set_viewport)(NULL); LCDFN(clear_display)(); -#ifndef SIMULATOR LCDFN(init_device)(); -#endif #ifdef MAIN_LCD scroll_init(); #endif -- cgit v1.2.3