fix compile

This commit is contained in:
Matthias Ringwald 2016-02-24 17:14:56 +01:00
parent e72801c4a5
commit a47028ed44
4 changed files with 4 additions and 4 deletions

View File

@ -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[0] = 0x01;
hci_cmd_buffer[1] = 0xfc; hci_cmd_buffer[1] = 0xfc;
hci_cmd_buffer[2] = 0x06; 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){ static btstack_chipset_result_t chipset_next_command(uint8_t * hci_cmd_buffer){

View File

@ -58,7 +58,7 @@
static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer){ 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)); little_endian_store_16(hci_cmd_buffer, 0, OPCODE(OGF_VENDOR, 0x02));
hci_cmd_buffer[2] = 0x06; 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 = { static const btstack_chipset_t btstack_chipset_em9301 = {

View File

@ -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[2] = 0x08;
hci_cmd_buffer[3] = 254; hci_cmd_buffer[3] = 254;
hci_cmd_buffer[4] = 0x06; 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 = { static const btstack_chipset_t btstack_chipset_stlc2500d = {

View File

@ -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[0] = 0x13;
hci_cmd_buffer[1] = 0x10; hci_cmd_buffer[1] = 0x10;
hci_cmd_buffer[2] = 0x06; 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 = { static const btstack_chipset_t btstack_chipset_tc3566x = {