diff options
| author | Ryan <fauxpark@gmail.com> | 2021-02-25 15:54:25 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-25 15:54:25 +1100 |
| commit | 39694d5eb0b7e48e06f9544600041fbbedfff956 (patch) | |
| tree | 2427bbf89b955330f793fd7dad3502cfc1e19de9 /tmk_core/protocol/vusb/vusb.h | |
| parent | 46f4422a87bf7e3aa52bd8770b14f8361d198e06 (diff) | |
| download | qmk_firmware-39694d5eb0b7e48e06f9544600041fbbedfff956.tar.gz qmk_firmware-39694d5eb0b7e48e06f9544600041fbbedfff956.zip | |
V-USB suspend refactor (#11891)
Diffstat (limited to 'tmk_core/protocol/vusb/vusb.h')
| -rw-r--r-- | tmk_core/protocol/vusb/vusb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/protocol/vusb/vusb.h b/tmk_core/protocol/vusb/vusb.h index b4c73aaba..b1ecc98f3 100644 --- a/tmk_core/protocol/vusb/vusb.h +++ b/tmk_core/protocol/vusb/vusb.h | |||
| @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "host_driver.h" | 20 | #include "host_driver.h" |
| 21 | #include <usbdrv/usbdrv.h> | ||
| 21 | 22 | ||
| 22 | typedef struct usbDescriptorHeader { | 23 | typedef struct usbDescriptorHeader { |
| 23 | uchar bLength; | 24 | uchar bLength; |
| @@ -119,5 +120,7 @@ typedef struct usbConfigurationDescriptor { | |||
| 119 | 120 | ||
| 120 | #define USB_STRING_LEN(s) (sizeof(usbDescriptorHeader_t) + ((s) << 1)) | 121 | #define USB_STRING_LEN(s) (sizeof(usbDescriptorHeader_t) + ((s) << 1)) |
| 121 | 122 | ||
| 123 | extern bool vusb_suspended; | ||
| 124 | |||
| 122 | host_driver_t *vusb_driver(void); | 125 | host_driver_t *vusb_driver(void); |
| 123 | void vusb_transfer_keyboard(void); | 126 | void vusb_transfer_keyboard(void); |
