From 7ade95d74121012286a5e0dce450cc44b96a98d6 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald <matthias@ringwald.ch> Date: Thu, 4 May 2017 18:30:20 +0200 Subject: [PATCH] stm32-f4discovery-cc256x: diable eHCILL, use 4 mbps --- port/stm32-f4discovery-cc256x/src/btstack_config.h | 2 +- port/stm32-f4discovery-cc256x/src/port.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/port/stm32-f4discovery-cc256x/src/btstack_config.h b/port/stm32-f4discovery-cc256x/src/btstack_config.h index d4fc9ef2d..7a964702a 100644 --- a/port/stm32-f4discovery-cc256x/src/btstack_config.h +++ b/port/stm32-f4discovery-cc256x/src/btstack_config.h @@ -16,7 +16,7 @@ // #define ENABLE_LOG_INFO #define ENABLE_LOG_ERROR #define ENABLE_CC256X_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND -#define ENABLE_EHCILL +// #define ENABLE_EHCILL // BTstack configuration. buffers, sizes, ... diff --git a/port/stm32-f4discovery-cc256x/src/port.c b/port/stm32-f4discovery-cc256x/src/port.c index 4ea2fa735..a5e923e50 100644 --- a/port/stm32-f4discovery-cc256x/src/port.c +++ b/port/stm32-f4discovery-cc256x/src/port.c @@ -17,7 +17,7 @@ static btstack_packet_callback_registration_t hci_event_callback_registration; static const hci_transport_config_uart_t config = { HCI_TRANSPORT_CONFIG_UART, 115200, - 0, + 400000, 1, NULL };