drivers/lcd/st7032.c: Fix semaphore initialization in the ST7032

This commit is contained in:
Alan Carvalho de Assis 2018-11-25 15:59:51 -06:00 committed by Gregory Nutt
parent da379a5c97
commit 7e7437e54e

View File

@ -1062,6 +1062,8 @@ int st7032_register(FAR const char *devpath, FAR struct i2c_master_s *i2c)
priv->col = 0;
priv->row = 0;
nxsem_init(&priv->sem_excl, 0, 1);
/* Initialize the display */
lcd_init(priv);