posix/uart: wait 100 ms after opening serial port

This commit is contained in:
Matthias Ringwald 2017-04-25 15:09:19 +02:00
parent cdb8bfaea6
commit ca98ec55e1

View File

@ -299,6 +299,9 @@ static int btstack_uart_posix_open(void){
btstack_run_loop_set_data_source_handler(&transport_data_source, &hci_transport_h5_process);
btstack_run_loop_add_data_source(&transport_data_source);
// wait a bit - at least cheap FTDI232 clones might send the first byte out incorrectly
usleep(100000);
return 0;
}