mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Fix the coding style and typo issue
Signed-off-by: anjiahao <anjiahao@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
d07792a343
commit
a4563b8744
@@ -1665,8 +1665,8 @@ int uart_register(FAR const char *path, FAR uart_dev_t *dev)
|
||||
nxmutex_init(&dev->xmit.lock);
|
||||
nxmutex_init(&dev->recv.lock);
|
||||
nxmutex_init(&dev->closelock);
|
||||
nxsem_init(&dev->xmitsem, 0, 0);
|
||||
nxsem_init(&dev->recvsem, 0, 0);
|
||||
nxsem_init(&dev->xmitsem, 0, 0);
|
||||
nxsem_init(&dev->recvsem, 0, 0);
|
||||
nxmutex_init(&dev->polllock);
|
||||
|
||||
/* Register the serial driver */
|
||||
|
||||
Reference in New Issue
Block a user