fix bl602 i2c sem init mistake
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
29be2481e9
commit
2156a102cf
|
@ -153,7 +153,7 @@ static struct bl602_i2c_priv_s bl602_i2c0_priv =
|
|||
.subaddr = 0,
|
||||
.sublen = 0,
|
||||
.lock = NXMUTEX_INITIALIZER,
|
||||
.sem_isr = SEM_INITIALIZER(0),
|
||||
.sem_isr = SEM_INITIALIZER(1),
|
||||
.i2cstate = EV_I2C_END_INT,
|
||||
.msgv = NULL,
|
||||
.msgid = 0,
|
||||
|
|
Loading…
Reference in New Issue