mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hci: mark more code as Classic only
This commit is contained in:
parent
1c9e5e9dcc
commit
0e6f3837b0
@ -1861,6 +1861,7 @@ static void event_handler(uint8_t *packet, int size){
|
||||
}
|
||||
break;
|
||||
|
||||
#ifdef ENABLE_CLASSIC
|
||||
case HCI_EVENT_ROLE_CHANGE:
|
||||
if (packet[2]) break; // status != 0
|
||||
handle = little_endian_read_16(packet, 3);
|
||||
@ -1868,6 +1869,7 @@ static void event_handler(uint8_t *packet, int size){
|
||||
if (!conn) break; // no conn
|
||||
conn->role = packet[9];
|
||||
break;
|
||||
#endif
|
||||
|
||||
case HCI_EVENT_TRANSPORT_PACKET_SENT:
|
||||
// release packet buffer only for asynchronous transport and if there are not further fragements
|
||||
|
Loading…
x
Reference in New Issue
Block a user