From d85c3ec41020a6c56b0d5d95a9ed790f57d73c6e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 20 Oct 2009 21:54:59 +0000 Subject: Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-1bit-vert.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'firmware/drivers/lcd-1bit-vert.c') diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c index dd6c7cd354..9607f284aa 100644 --- a/firmware/drivers/lcd-1bit-vert.c +++ b/firmware/drivers/lcd-1bit-vert.c @@ -91,25 +91,6 @@ void LCDFN(init)(void) #endif } -#ifdef MAIN_LCD -#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) -static void (*lcd_activation_hook)(void) = NULL; - -void lcd_activation_set_hook(void (*func)(void)) -{ - lcd_activation_hook = func; -} - -void lcd_activation_call_hook(void) -{ - void (*func)(void) = lcd_activation_hook; - - if (func != NULL) - func(); -} -#endif -#endif - /*** parameter handling ***/ void LCDFN(set_drawmode)(int mode) -- cgit v1.2.3