File tree <
8000
svg aria-hidden="true" focusable="false" class="octicon octicon-sidebar-collapse" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"> Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ STATIC int btstack_uart_init(const btstack_uart_config_t *uart_config) {
67
67
send_handler = NULL ;
68
68
69
69
// Set up the UART peripheral, attach IRQ and power up the HCI controller.
70
- // We haven't been told the baud rate yet, so defer that until btstack_uart_set_baudrate.
71
- if (mp_bluetooth_hci_uart_init (MICROPY_HW_BLE_UART_ID , 0 )) {
70
+ if (mp_bluetooth_hci_uart_init (MICROPY_HW_BLE_UART_ID , MICROPY_HW_BLE_UART_BAUDRATE )) {
72
71
init_success = false;
73
72
return -1 ;
74
73
}
You can’t perform that action at this time.
0 commit comments