bt_conn.c: use definition names instead of hardcoded numbers

This commit is contained in:
Matias N 2020-10-28 23:51:33 -03:00 committed by Brennan Ashton
parent e560eeae01
commit 52c3037b00

View File

@ -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 */