diff options
| author | hathach <[email protected]> | 2024-04-08 22:07:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-08 22:07:56 +0700 |
| commit | c3c06484560d0102366a3a1b1101c35301009f97 (patch) | |
| tree | 408f8d600c6b58fd1da77c0408182851c0f48ced /src/class/bth/bth_device.c | |
| parent | 47c12a07f2edf927eaa685ee8c32b222271d770f (diff) | |
add class driver deinit
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; |
