mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
bluetooth: Implement btuart_close for btuart upperhalf driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
11d083b358
commit
fab8b081c0
@@ -83,6 +83,7 @@ int btuart_register(FAR const struct btuart_lowerhalf_s *lower)
|
||||
upper->dev.head_reserve = H4_HEADER_SIZE;
|
||||
upper->dev.open = btuart_open;
|
||||
upper->dev.send = btuart_send;
|
||||
upper->dev.close = btuart_close;
|
||||
upper->lower = lower;
|
||||
|
||||
/* And register the driver with the network and the Bluetooth stack. */
|
||||
|
||||
Reference in New Issue
Block a user