mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 13:20:50 +00:00
chipset/csr: avoid HCI_EVENT_IS_COMMAND_COMPLETE macro
This commit is contained in:
parent
f78112560a
commit
ae46c388c2
@ -127,8 +127,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
state = 1;
|
||||
}
|
||||
break;
|
||||
case HCI_EVENT_COMMAND_COMPLETE:
|
||||
if (HCI_EVENT_IS_COMMAND_COMPLETE(packet, hci_read_local_version_information)){
|
||||
if (hci_event_command_complete_get_command_opcode(packet) == HCI_OPCODE_HCI_READ_LOCAL_VERSION_INFORMATION){
|
||||
local_version_information_handler(packet);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user