diff options
| author | Ha Thach <[email protected]> | 2024-04-08 23:48:52 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-08 23:48:52 +0700 |
| commit | 42decf28f1bf7512a4c3e7402c9daf83ee241191 (patch) | |
| tree | 1a3ed93956a7d51d592d6ba4de6215725ec43c4c /src/class/bth/bth_device.c | |
| parent | d33fe38a6257bcdd60f51a57c9fd19ce2ad1f202 (diff) | |
| parent | be25a3fc20339c27803e68cb1363f89ffe7a7c67 (diff) | |
Merge pull request #1835 from MasterQ32/otg_bringup
Implements deinit functions for host/device mode switch
Diffstat (limited to 'src/class/bth/bth_device.c')
| -rwxr-xr-x | src/class/bth/bth_device.c | 7 |
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; |
