mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-02 07:20:16 +00:00
use baud rate from bt_control_iphone
This commit is contained in:
parent
71d5d6607b
commit
a6df61e87f
@ -163,7 +163,7 @@ static int h4_open(void *transport_config)
|
|||||||
goto err_out3;
|
goto err_out3;
|
||||||
}
|
}
|
||||||
cfmakeraw(&toptions);
|
cfmakeraw(&toptions);
|
||||||
speed_t brate = 3000000;
|
speed_t brate = (speed_t) hci_uart_config->baudrate_init;
|
||||||
cfsetspeed(&toptions, brate);
|
cfsetspeed(&toptions, brate);
|
||||||
toptions.c_iflag |= IGNPAR;
|
toptions.c_iflag |= IGNPAR;
|
||||||
toptions.c_cflag = 0x00038b00;
|
toptions.c_cflag = 0x00038b00;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user