mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
bt_conn.c: use definition names instead of hardcoded numbers
This commit is contained in:
@@ -298,7 +298,7 @@ void bt_conn_receive(FAR struct bt_conn_s *conn, FAR struct bt_buf_s *buf,
|
||||
|
||||
switch (flags)
|
||||
{
|
||||
case 0x02:
|
||||
case BT_HCI_ACL_NEW:
|
||||
|
||||
/* First packet */
|
||||
|
||||
@@ -323,7 +323,7 @@ void bt_conn_receive(FAR struct bt_conn_s *conn, FAR struct bt_buf_s *buf,
|
||||
|
||||
break;
|
||||
|
||||
case 0x01:
|
||||
case BT_HCI_ACL_CONTINUATION:
|
||||
|
||||
/* Continuation */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user