mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +00:00
posix-cc2564b: fix compile, use high uart speed
This commit is contained in:
parent
43d67bd1f5
commit
1fc2c15a29
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user