bluetooth: Fix typos in comment

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-12-27 01:43:27 +08:00
committed by Alin Jerpelea
parent 32ad989c03
commit d1dc0bf848
12 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_core.h * include/nuttx/wireless/bluetooth/bt_core.h
* Bluetooth subsystem core APIs. * Bluetooth subsystem core APIs.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -195,7 +195,7 @@ static inline int bt_addr_to_str(FAR const bt_addr_t *addr, FAR char *str,
****************************************************************************/ ****************************************************************************/
static inline int bt_addr_le_to_str(FAR const bt_addr_le_t *addr, char *str, static inline int bt_addr_le_to_str(FAR const bt_addr_le_t *addr, char *str,
size_t len) size_t len)
{ {
char type[7]; char type[7];
+2 -2
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_driver.h * include/nuttx/wireless/bluetooth/bt_driver.h
* Bluetooth HCI driver API. * Bluetooth HCI driver API.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -96,7 +96,7 @@ int bt_netdev_register(FAR const struct bt_driver_s *btdev);
* Description: * Description:
* Called by the Bluetooth low-level driver when new data is received from * Called by the Bluetooth low-level driver when new data is received from
* the radio. This may be called from the low-level driver and is part of * the radio. This may be called from the low-level driver and is part of
* the driver interface prototyped in include/nuttx/wireless/bluetooth/bt_driver.h * the driver interface
* *
* Input Parameters: * Input Parameters:
* buf - An instance of the buffer structure providing the received frame. * buf - An instance of the buffer structure providing the received frame.
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_gatt.h * include/nuttx/wireless/bluetooth/bt_gatt.h
* Generic Attribute Profile handling. * Generic Attribute Profile handling.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_hci.h * include/nuttx/wireless/bluetooth/bt_hci.h
* Bluetooth Host Control Interface definitions. * Bluetooth Host Control Interface definitions.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_ioctl.h * include/nuttx/wireless/bluetooth/bt_ioctl.h
* Bluetooth Network IOCTL commands. * Bluetooth Network IOCTL commands.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* drivers/wireless/bluetooth/bt_null.h * include/nuttx/wireless/bluetooth/bt_null.h
* NULL based Bluetooth driver * NULL based Bluetooth driver
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* drivers/wireless/bluetooth/bt_uart.h * include/nuttx/wireless/bluetooth/bt_uart.h
* UART based Bluetooth driver * UART based Bluetooth driver
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* drivers/wireless/bluetooth/bt_uart_shim.h * include/nuttx/wireless/bluetooth/bt_uart_shim.h
* Shim for connecting generic UART ports to bluetooth H4 interfaces * Shim for connecting generic UART ports to bluetooth H4 interfaces
* *
* Copyright (C) 2019 Gregory Nutt. All rights reserved. * Copyright (C) 2019 Gregory Nutt. All rights reserved.
+2 -2
View File
@@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_uuid.h * include/nuttx/wireless/bluetooth/bt_uuid.h
* B Bluetooth UUID handling. * Bluetooth UUID handling.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
+2 -2
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_buf_s.c * wireless/bluetooth/bt_buf.c
* Bluetooth buffer management * Bluetooth buffer management
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -111,7 +111,7 @@ static struct bt_buf_s *g_buf_free_irq;
/* Pool of pre-allocated buffer structures */ /* Pool of pre-allocated buffer structures */
static struct bt_buf_s static struct bt_buf_s
g_buf_pool[CONFIG_BLUETOOTH_BUFFER_PREALLOC]; g_buf_pool[CONFIG_BLUETOOTH_BUFFER_PREALLOC];
static bool g_poolinit = false; static bool g_poolinit = false;
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_l2cap.c * wireless/bluetooth/bt_l2cap.h
* L2CAP handling * L2CAP handling
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* wireless/bluetooth/bt_att.c * wireless/bluetooth/bt_uuid.c
* Bluetooth UUID handling. * Bluetooth UUID handling.
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.