summaryrefslogtreecommitdiff
path: root/src/class/bth/bth_device.c
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-04-08 21:44:14 +0200
committerHiFiPhile <[email protected]>2024-04-08 21:44:14 +0200
commitadc7a78fd6fbdccbe5f586391997052f2becd149 (patch)
tree68108df608468572c43c1e65c578f6954aecf69f /src/class/bth/bth_device.c
parent9570836cece0beb6c61f1cc97e5de25dac136394 (diff)
parent42decf28f1bf7512a4c3e7402c9daf83ee241191 (diff)
Merge branch 'master' of github.com:HiFiPhile/tinyusb into vendor_fifo
Diffstat (limited to 'src/class/bth/bth_device.c')
-rwxr-xr-xsrc/class/bth/bth_device.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/class/bth/bth_device.c b/src/class/bth/bth_device.c
index f145e2ead..cbf6e1332 100755
--- a/src/class/bth/bth_device.c
+++ b/src/class/bth/bth_device.c
@@ -91,11 +91,14 @@ bool tud_bt_acl_data_send(void *event, uint16_t event_len)
//--------------------------------------------------------------------+
// USBD Driver API
//--------------------------------------------------------------------+
-void btd_init(void)
-{
+void btd_init(void) {
tu_memclr(&_btd_itf, sizeof(_btd_itf));
}
+bool btd_deinit(void) {
+ return true;
+}
+
void btd_reset(uint8_t rhport)
{
(void)rhport;