mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-25 06:40:10 +00:00
use local hci_uart_config - 1 mbps not working with interal RC clock at 8 mhz
This commit is contained in:
parent
452cf3bbef
commit
ac6b644223
@ -354,9 +354,8 @@ int main(void)
|
|||||||
// init HCI
|
// init HCI
|
||||||
hci_transport_t * transport = hci_transport_h4_dma_instance();
|
hci_transport_t * transport = hci_transport_h4_dma_instance();
|
||||||
bt_control_t * control = bt_control_cc256x_instance();
|
bt_control_t * control = bt_control_cc256x_instance();
|
||||||
hci_uart_config_t * config = hci_uart_config_cc256x_instance();
|
|
||||||
remote_device_db_t * remote_db = (remote_device_db_t *) &remote_device_db_memory;
|
remote_device_db_t * remote_db = (remote_device_db_t *) &remote_device_db_memory;
|
||||||
hci_init(transport, config, control, remote_db);
|
hci_init(transport, (void*) &hci_uart_config_cc256x, control, remote_db);
|
||||||
|
|
||||||
// enable eHCILL
|
// enable eHCILL
|
||||||
bt_control_cc256x_enable_ehcill(1);
|
bt_control_cc256x_enable_ehcill(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user