mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-10 00:41:06 +00:00
posix: set fd in data source
This commit is contained in:
parent
2778f48c98
commit
327a82080c
@ -261,6 +261,9 @@ static int btstack_uart_posix_open(void){
|
||||
perror("posix_open: Couldn't set term attributes");
|
||||
return -1;
|
||||
}
|
||||
|
||||
// store fd in data source
|
||||
transport_data_source.fd = fd;
|
||||
|
||||
// also set baudrate
|
||||
if (btstack_uart_posix_set_baudrate(baudrate) < 0){
|
||||
|
Loading…
Reference in New Issue
Block a user