Skip to content

Commit

Permalink
drivers/cyw43/cywbt: Remove hard-coded UART6 alternate function setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
iabdalkader authored and dpgeorge committed Apr 30, 2021
1 parent baa712b commit 0d4eb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cyw43/cywbt.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ STATIC void cywbt_wait_cts_low(void) {
}
mp_hal_delay_ms(1);
}
mp_hal_pin_config_alt_static(pyb_pin_BT_CTS, MP_HAL_PIN_MODE_ALT, MP_HAL_PIN_PULL_UP, STATIC_AF_USART6_CTS);
mp_hal_pin_config_alt(pyb_pin_BT_CTS, MP_HAL_PIN_MODE_ALT, MP_HAL_PIN_PULL_UP, AF_FN_UART, mp_bluetooth_hci_uart_obj.uart_id);
}

STATIC int cywbt_hci_cmd_raw(size_t len, uint8_t *buf) {
Expand Down

0 comments on commit 0d4eb15

Please sign in to comment.