mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
net: nxstyle fixes
Nxstyle fixes to pass CI. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
d0002b24c7
commit
7dc7ef45f1
@@ -80,7 +80,8 @@ struct bluetooth_finddev_s
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int bluetooth_dev_callback(FAR struct net_driver_s *dev, FAR void *arg)
|
||||
static int bluetooth_dev_callback(FAR struct net_driver_s *dev,
|
||||
FAR void *arg)
|
||||
{
|
||||
FAR struct bluetooth_finddev_s *match =
|
||||
(FAR struct bluetooth_finddev_s *)arg;
|
||||
|
||||
@@ -140,8 +140,8 @@ static int bluetooth_queue_frame(FAR struct bluetooth_conn_s *conn,
|
||||
}
|
||||
|
||||
#if CONFIG_NET_BLUETOOTH_BACKLOG > 0
|
||||
/* If incrementing the count would exceed the maximum bc_backlog value, then
|
||||
* delete the oldest frame from the head of the RX queue.
|
||||
/* If incrementing the count would exceed the maximum bc_backlog value,
|
||||
* then delete the oldest frame from the head of the RX queue.
|
||||
*/
|
||||
|
||||
if (conn->bc_backlog >= CONFIG_NET_BLUETOOTH_BACKLOG)
|
||||
|
||||
Reference in New Issue
Block a user