projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Init lcd_semaphore when kernel is active.
[bertos.git]
/
bertos
/
drv
/
lcd_text.c
diff --git
a/bertos/drv/lcd_text.c
b/bertos/drv/lcd_text.c
index ca27f22d50d2ec81c40d20292bf2363d8997ed65..6994537c8c786146aa3a3ace19eae9070a016c55 100644
(file)
--- a/
bertos/drv/lcd_text.c
+++ b/
bertos/drv/lcd_text.c
@@
-438,6
+438,9
@@
static void lcd_setDefLayer(Layer *layer)
#include <cfg/debug.h>
void lcd_init(void)
{
+ #if CONFIG_KERN
+ sem_init(&lcd_semaphore);
+ #endif
int i;
LIST_INIT(&lcd_Layers);