diff --git a/chipset/bcm/btstack_chipset_bcm.c b/chipset/bcm/btstack_chipset_bcm.c index fddbce6d5..74f274a83 100644 --- a/chipset/bcm/btstack_chipset_bcm.c +++ b/chipset/bcm/btstack_chipset_bcm.c @@ -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){ diff --git a/chipset/em9301/btstack_chipset_em9301.c b/chipset/em9301/btstack_chipset_em9301.c index c19e0e480..69b7fc84c 100644 --- a/chipset/em9301/btstack_chipset_em9301.c +++ b/chipset/em9301/btstack_chipset_em9301.c @@ -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 = { diff --git a/chipset/stlc2500d/btstack_chipset_stlc2500d.c b/chipset/stlc2500d/btstack_chipset_stlc2500d.c index 26b6ec476..5bc81b121 100644 --- a/chipset/stlc2500d/btstack_chipset_stlc2500d.c +++ b/chipset/stlc2500d/btstack_chipset_stlc2500d.c @@ -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 = { diff --git a/chipset/tc3566x/btstack_chipset_tc3566x.c b/chipset/tc3566x/btstack_chipset_tc3566x.c index bedf94af1..9aba3bbf0 100644 --- a/chipset/tc3566x/btstack_chipset_tc3566x.c +++ b/chipset/tc3566x/btstack_chipset_tc3566x.c @@ -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 = {