mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
em9301: support vendor specific set baudrate command
This commit is contained in:
parent
d40c3de009
commit
9ba7722dcc
@ -83,7 +83,7 @@ static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer)
|
||||
static void chipset_set_baudrate_command(uint32_t baudrate, uint8_t *hci_cmd_buffer){
|
||||
// lookup baudrates
|
||||
int i;
|
||||
int found;
|
||||
int found = 0;
|
||||
for (i=0;i < sizeof(baudrates)/sizeof(uint32_t);i++){
|
||||
if (baudrates[i] == baudrate){
|
||||
found = i;
|
||||
|
Loading…
Reference in New Issue
Block a user