mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-28 15:20:39 +00:00
fix compile
This commit is contained in:
parent
e72801c4a5
commit
a47028ed44
@ -81,7 +81,7 @@ static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer)
|
||||
hci_cmd_buffer[0] = 0x01;
|
||||
hci_cmd_buffer[1] = 0xfc;
|
||||
hci_cmd_buffer[2] = 0x06;
|
||||
bt_flip_addr(&hci_cmd_buffer[3], addr);
|
||||
reverse_bd_addr(addr, &hci_cmd_buffer[3]);
|
||||
}
|
||||
|
||||
static btstack_chipset_result_t chipset_next_command(uint8_t * hci_cmd_buffer){
|
||||
|
@ -58,7 +58,7 @@
|
||||
static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer){
|
||||
little_endian_store_16(hci_cmd_buffer, 0, OPCODE(OGF_VENDOR, 0x02));
|
||||
hci_cmd_buffer[2] = 0x06;
|
||||
bt_flip_addr(&hci_cmd_buffer[3], addr);
|
||||
reverse_bd_addr(addr, &hci_cmd_buffer[3]);
|
||||
}
|
||||
|
||||
static const btstack_chipset_t btstack_chipset_em9301 = {
|
||||
|
@ -99,7 +99,7 @@ static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer)
|
||||
hci_cmd_buffer[2] = 0x08;
|
||||
hci_cmd_buffer[3] = 254;
|
||||
hci_cmd_buffer[4] = 0x06;
|
||||
bt_flip_addr(&hci_cmd_buffer[5], addr);
|
||||
reverse_bd_addr(addr, &hci_cmd_buffer[5]);
|
||||
}
|
||||
|
||||
static const btstack_chipset_t btstack_chipset_stlc2500d = {
|
||||
|
@ -94,7 +94,7 @@ static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer)
|
||||
hci_cmd_buffer[0] = 0x13;
|
||||
hci_cmd_buffer[1] = 0x10;
|
||||
hci_cmd_buffer[2] = 0x06;
|
||||
bt_flip_addr(&hci_cmd_buffer[3], addr);
|
||||
reverse_bd_addr(addr, &hci_cmd_buffer[3]);
|
||||
}
|
||||
|
||||
static const btstack_chipset_t btstack_chipset_tc3566x = {
|
||||
|
Loading…
Reference in New Issue
Block a user