diff options
| author | sakumisu <[email protected]> | 2024-01-29 20:51:06 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-01-29 21:14:35 +0800 |
| commit | feb69dcd95584a23d60df4b34e886b66fed4b1c4 (patch) | |
| tree | 0ab97023ef505184370856fb968caebb11f194f2 /class | |
| parent | cdfb7c3fb2008ecaddac6b33decbcdb9a64b3446 (diff) | |
add zephyr bluetooth submodule
Diffstat (limited to 'class')
| -rw-r--r-- | class/wireless/usbh_bluetooth.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/class/wireless/usbh_bluetooth.c b/class/wireless/usbh_bluetooth.c index 82a2b07e..a774985f 100644 --- a/class/wireless/usbh_bluetooth.c +++ b/class/wireless/usbh_bluetooth.c @@ -392,4 +392,14 @@ CLASS_INFO_DEFINE const struct usbh_class_info bluetooth_h4_nrf_class_info = { .pid = 0x000c, .class_driver = &bluetooth_class_driver }; +#else +CLASS_INFO_DEFINE const struct usbh_class_info bluetooth_class_info = { + .match_flags = USB_CLASS_MATCH_INTF_CLASS | USB_CLASS_MATCH_INTF_SUBCLASS | USB_CLASS_MATCH_INTF_PROTOCOL, + .class = USB_DEVICE_CLASS_WIRELESS, + .subclass = 0x01, + .protocol = 0x01, + .vid = 0x00, + .pid = 0x00, + .class_driver = &bluetooth_class_driver +}; #endif |
