diff options
author | fauxpark <fauxpark@gmail.com> | 2018-04-11 10:04:54 +1000 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-11 18:13:32 -0400 |
commit | 6982e63a4a0ac7832648583a20f082cb913a96e6 (patch) | |
tree | d58531bac79f037094e5f484f1b96212a8671202 | |
parent | e8082b5f9ecc8cc000823091273576ae58c8411f (diff) | |
download | qmk_firmware-6982e63a4a0ac7832648583a20f082cb913a96e6.tar.gz qmk_firmware-6982e63a4a0ac7832648583a20f082cb913a96e6.zip |
Tabs to spaces in usb_descriptor.h
-rw-r--r-- | tmk_core/protocol/usb_descriptor.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h index 192bb6ef3..586d07df6 100644 --- a/tmk_core/protocol/usb_descriptor.h +++ b/tmk_core/protocol/usb_descriptor.h | |||
@@ -117,17 +117,17 @@ typedef struct | |||
117 | #ifdef VIRTSER_ENABLE | 117 | #ifdef VIRTSER_ENABLE |
118 | USB_Descriptor_Interface_Association_t CDC_Interface_Association; | 118 | USB_Descriptor_Interface_Association_t CDC_Interface_Association; |
119 | 119 | ||
120 | // CDC Control Interface | 120 | // CDC Control Interface |
121 | USB_Descriptor_Interface_t CDC_CCI_Interface; | 121 | USB_Descriptor_Interface_t CDC_CCI_Interface; |
122 | USB_CDC_Descriptor_FunctionalHeader_t CDC_Functional_Header; | 122 | USB_CDC_Descriptor_FunctionalHeader_t CDC_Functional_Header; |
123 | USB_CDC_Descriptor_FunctionalACM_t CDC_Functional_ACM; | 123 | USB_CDC_Descriptor_FunctionalACM_t CDC_Functional_ACM; |
124 | USB_CDC_Descriptor_FunctionalUnion_t CDC_Functional_Union; | 124 | USB_CDC_Descriptor_FunctionalUnion_t CDC_Functional_Union; |
125 | USB_Descriptor_Endpoint_t CDC_NotificationEndpoint; | 125 | USB_Descriptor_Endpoint_t CDC_NotificationEndpoint; |
126 | 126 | ||
127 | // CDC Data Interface | 127 | // CDC Data Interface |
128 | USB_Descriptor_Interface_t CDC_DCI_Interface; | 128 | USB_Descriptor_Interface_t CDC_DCI_Interface; |
129 | USB_Descriptor_Endpoint_t CDC_DataOutEndpoint; | 129 | USB_Descriptor_Endpoint_t CDC_DataOutEndpoint; |
130 | USB_Descriptor_Endpoint_t CDC_DataInEndpoint; | 130 | USB_Descriptor_Endpoint_t CDC_DataInEndpoint; |
131 | #endif | 131 | #endif |
132 | } USB_Descriptor_Configuration_t; | 132 | } USB_Descriptor_Configuration_t; |
133 | 133 | ||
@@ -139,9 +139,9 @@ typedef struct | |||
139 | // interface number, to support Linux/OSX platforms and chrome.hid | 139 | // interface number, to support Linux/OSX platforms and chrome.hid |
140 | // If Raw HID is enabled, let it be always 1. | 140 | // If Raw HID is enabled, let it be always 1. |
141 | #ifdef RAW_ENABLE | 141 | #ifdef RAW_ENABLE |
142 | # define RAW_INTERFACE (KEYBOARD_INTERFACE + 1) | 142 | # define RAW_INTERFACE (KEYBOARD_INTERFACE + 1) |
143 | #else | 143 | #else |
144 | # define RAW_INTERFACE KEYBOARD_INTERFACE | 144 | # define RAW_INTERFACE KEYBOARD_INTERFACE |
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | #ifdef MOUSE_ENABLE | 147 | #ifdef MOUSE_ENABLE |
@@ -240,13 +240,13 @@ typedef struct | |||
240 | 240 | ||
241 | #ifdef VIRTSER_ENABLE | 241 | #ifdef VIRTSER_ENABLE |
242 | # define CDC_NOTIFICATION_EPNUM (MIDI_STREAM_OUT_EPNUM + 1) | 242 | # define CDC_NOTIFICATION_EPNUM (MIDI_STREAM_OUT_EPNUM + 1) |
243 | # define CDC_IN_EPNUM (MIDI_STREAM_OUT_EPNUM + 2) | 243 | # define CDC_IN_EPNUM (MIDI_STREAM_OUT_EPNUM + 2) |
244 | # define CDC_OUT_EPNUM (MIDI_STREAM_OUT_EPNUM + 3) | 244 | # define CDC_OUT_EPNUM (MIDI_STREAM_OUT_EPNUM + 3) |
245 | # define CDC_NOTIFICATION_EPADDR (ENDPOINT_DIR_IN | CDC_NOTIFICATION_EPNUM) | 245 | # define CDC_NOTIFICATION_EPADDR (ENDPOINT_DIR_IN | CDC_NOTIFICATION_EPNUM) |
246 | # define CDC_IN_EPADDR (ENDPOINT_DIR_IN | CDC_IN_EPNUM) | 246 | # define CDC_IN_EPADDR (ENDPOINT_DIR_IN | CDC_IN_EPNUM) |
247 | # define CDC_OUT_EPADDR (ENDPOINT_DIR_OUT | CDC_OUT_EPNUM) | 247 | # define CDC_OUT_EPADDR (ENDPOINT_DIR_OUT | CDC_OUT_EPNUM) |
248 | #else | 248 | #else |
249 | # define CDC_OUT_EPNUM MIDI_STREAM_OUT_EPNUM | 249 | # define CDC_OUT_EPNUM MIDI_STREAM_OUT_EPNUM |
250 | #endif | 250 | #endif |
251 | 251 | ||
252 | #if (defined(PROTOCOL_LUFA) && CDC_OUT_EPNUM > (ENDPOINT_TOTAL_ENDPOINTS - 1)) || \ | 252 | #if (defined(PROTOCOL_LUFA) && CDC_OUT_EPNUM > (ENDPOINT_TOTAL_ENDPOINTS - 1)) || \ |
@@ -257,7 +257,7 @@ typedef struct | |||
257 | #define KEYBOARD_EPSIZE 8 | 257 | #define KEYBOARD_EPSIZE 8 |
258 | #define MOUSE_EPSIZE 8 | 258 | #define MOUSE_EPSIZE 8 |
259 | #define EXTRAKEY_EPSIZE 8 | 259 | #define EXTRAKEY_EPSIZE 8 |
260 | #define RAW_EPSIZE 32 | 260 | #define RAW_EPSIZE 32 |
261 | #define CONSOLE_EPSIZE 32 | 261 | #define CONSOLE_EPSIZE 32 |
262 | #define NKRO_EPSIZE 32 | 262 | #define NKRO_EPSIZE 32 |
263 | #define MIDI_STREAM_EPSIZE 64 | 263 | #define MIDI_STREAM_EPSIZE 64 |