X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Flcd_text.c;h=6994537c8c786146aa3a3ace19eae9070a016c55;hb=2d029a31f46f72f3d321f5ef855b1cd8c7b5de54;hp=ca27f22d50d2ec81c40d20292bf2363d8997ed65;hpb=86f7ac2294dc626ccef6f306fa633a50867f9887;p=bertos.git 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);