From 2ad00f2cdeb97fbe11cae835f8f8c72ce5c5e95e Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 17 Apr 2015 16:21:52 +0200 Subject: [PATCH] use bt_control_stlc2500d --- platforms/posix-stlc2500d/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platforms/posix-stlc2500d/main.c b/platforms/posix-stlc2500d/main.c index 5db9f00d9..42a7d078a 100644 --- a/platforms/posix-stlc2500d/main.c +++ b/platforms/posix-stlc2500d/main.c @@ -56,12 +56,14 @@ #include "hci.h" #include "hci_dump.h" #include "stdin_support.h" +#include "bt_control_stlc2500d.h" int btstack_main(int argc, const char * argv[]); static hci_uart_config_t hci_uart_config_cc256x = { NULL, 115200, + 0, // main baudrate: set to higher standard values if needed e.g. 460800 }; static void sigint_handler(int param){ @@ -92,7 +94,7 @@ int main(int argc, const char * argv[]){ // init HCI hci_transport_t * transport = hci_transport_h4_instance(); - bt_control_t * control = NULL; + bt_control_t * control = bt_control_stlc2500d_instance(); remote_device_db_t * remote_db = (remote_device_db_t *) &remote_device_db_fs; hci_init(transport, (void*) &hci_uart_config_cc256x, control, remote_db);