posix-cc2564b: fix compile, use high uart speed

This commit is contained in:
Matthias Ringwald 2016-01-13 15:06:28 +01:00
parent 43d67bd1f5
commit 1fc2c15a29

View File

@ -56,7 +56,7 @@
#include "hci.h"
#include "hci_dump.h"
#include "stdin_support.h"
#include "hal_led.h"
#include <btstack/hal_led.h>
#include "bt_control_cc256x.h"
int btstack_main(int argc, const char * argv[]);
@ -64,6 +64,7 @@ int btstack_main(int argc, const char * argv[]);
static hci_uart_config_t hci_uart_config_cc256x = {
NULL,
115200,
921600
};
static void sigint_handler(int param){
@ -96,7 +97,7 @@ int main(int argc, const char * argv[]){
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
// pick serial port
hci_uart_config_cc256x.device_name = "/dev/tty.usbserial-AD025KU2";
hci_uart_config_cc256x.device_name = "/dev/tty.usbserial-A900K0VK";
// init HCI
hci_transport_t * transport = hci_transport_h4_instance();