diff options
Diffstat (limited to 'firmware/drivers/lcd-1bit-vert.c')
-rw-r--r-- | firmware/drivers/lcd-1bit-vert.c | 19 |
1 files changed, 0 insertions, 19 deletions
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) | |||
91 | #endif | 91 | #endif |
92 | } | 92 | } |
93 | 93 | ||
94 | #ifdef MAIN_LCD | ||
95 | #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) | ||
96 | static void (*lcd_activation_hook)(void) = NULL; | ||
97 | |||
98 | void lcd_activation_set_hook(void (*func)(void)) | ||
99 | { | ||
100 | lcd_activation_hook = func; | ||
101 | } | ||
102 | |||
103 | void lcd_activation_call_hook(void) | ||
104 | { | ||
105 | void (*func)(void) = lcd_activation_hook; | ||
106 | |||
107 | if (func != NULL) | ||
108 | func(); | ||
109 | } | ||
110 | #endif | ||
111 | #endif | ||
112 | |||
113 | /*** parameter handling ***/ | 94 | /*** parameter handling ***/ |
114 | 95 | ||
115 | void LCDFN(set_drawmode)(int mode) | 96 | void LCDFN(set_drawmode)(int mode) |