bt_conn.c: use definition names instead of hardcoded numbers
This commit is contained in:
parent
e560eeae01
commit
52c3037b00
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user