aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/vusb/vusb.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-02-25 15:54:25 +1100
committerGitHub <noreply@github.com>2021-02-25 15:54:25 +1100
commit39694d5eb0b7e48e06f9544600041fbbedfff956 (patch)
tree2427bbf89b955330f793fd7dad3502cfc1e19de9 /tmk_core/protocol/vusb/vusb.h
parent46f4422a87bf7e3aa52bd8770b14f8361d198e06 (diff)
downloadqmk_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.h3
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
22typedef struct usbDescriptorHeader { 23typedef 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
123extern bool vusb_suspended;
124
122host_driver_t *vusb_driver(void); 125host_driver_t *vusb_driver(void);
123void vusb_transfer_keyboard(void); 126void vusb_transfer_keyboard(void);