From 80f2c794e60f59179cf530d3add53a4acbe75e55 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 22 Jul 2021 14:39:44 +0200 Subject: [PATCH] extmod/mpbthci.h: Add mp_bluetooth_hci_uart_any prototype. This allows drivers to use mpbthciport functions to read/write/poll UART. --- extmod/mpbthci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/extmod/mpbthci.h b/extmod/mpbthci.h index acb5b832ba..6997238033 100644 --- a/extmod/mpbthci.h +++ b/extmod/mpbthci.h @@ -45,6 +45,7 @@ int mp_bluetooth_hci_controller_wakeup(void); int mp_bluetooth_hci_uart_init(uint32_t port, uint32_t baudrate); int mp_bluetooth_hci_uart_deinit(void); int mp_bluetooth_hci_uart_set_baudrate(uint32_t baudrate); +int mp_bluetooth_hci_uart_any(void); int mp_bluetooth_hci_uart_readchar(void); int mp_bluetooth_hci_uart_write(const uint8_t *buf, size_t len);