mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +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)
|
switch (flags)
|
||||||
{
|
{
|
||||||
case 0x02:
|
case BT_HCI_ACL_NEW:
|
||||||
|
|
||||||
/* First packet */
|
/* First packet */
|
||||||
|
|
||||||
@@ -323,7 +323,7 @@ void bt_conn_receive(FAR struct bt_conn_s *conn, FAR struct bt_buf_s *buf,
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x01:
|
case BT_HCI_ACL_CONTINUATION:
|
||||||
|
|
||||||
/* Continuation */
|
/* Continuation */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user