From 2d029a31f46f72f3d321f5ef855b1cd8c7b5de54 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 21 Dec 2009 10:58:24 +0000 Subject: [PATCH] Init lcd_semaphore when kernel is active. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3123 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/lcd_text.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bertos/drv/lcd_text.c b/bertos/drv/lcd_text.c index ca27f22d..6994537c 100644 --- a/bertos/drv/lcd_text.c +++ b/bertos/drv/lcd_text.c @@ -438,6 +438,9 @@ static void lcd_setDefLayer(Layer *layer) #include void lcd_init(void) { + #if CONFIG_KERN + sem_init(&lcd_semaphore); + #endif int i; LIST_INIT(&lcd_Layers); -- 2.25.1