diff options
| author | Joel Challis <git@zvecr.com> | 2020-03-25 03:39:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-25 14:39:53 +1100 |
| commit | 6ceaae30f519b63b4b56e0277dd459cccf2d0729 (patch) | |
| tree | ef453f7a49b5570196bd9ee7e32b9e7a7b5b3c10 /tmk_core | |
| parent | 5075a1d9e4bdc4af6563f3805f567913e36f7159 (diff) | |
| download | qmk_firmware-6ceaae30f519b63b4b56e0277dd459cccf2d0729.tar.gz qmk_firmware-6ceaae30f519b63b4b56e0277dd459cccf2d0729.zip | |
Run clang-format manually to fix recently changed files (#8552)
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/vusb/vusb.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index abf723952..79e8cf71b 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c | |||
| @@ -354,19 +354,19 @@ const PROGMEM char usbDescriptorConfiguration[] = { | |||
| 354 | /* USB configuration descriptor */ | 354 | /* USB configuration descriptor */ |
| 355 | 9, /* sizeof(usbDescriptorConfiguration): length of descriptor in bytes */ | 355 | 9, /* sizeof(usbDescriptorConfiguration): length of descriptor in bytes */ |
| 356 | USBDESCR_CONFIG, /* descriptor type */ | 356 | USBDESCR_CONFIG, /* descriptor type */ |
| 357 | # if defined (MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE) | 357 | # if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE) |
| 358 | 59, // 9 + (9 + 9 + 7) + (9 + 9 + 7) | 358 | 59, // 9 + (9 + 9 + 7) + (9 + 9 + 7) |
| 359 | #else | 359 | # else |
| 360 | 34, // 9 + (9 + 9 + 7) | 360 | 34, // 9 + (9 + 9 + 7) |
| 361 | # endif | 361 | # endif |
| 362 | 0, | 362 | 0, |
| 363 | // 18 + 7 * USB_CFG_HAVE_INTRIN_ENDPOINT + 7 * USB_CFG_HAVE_INTRIN_ENDPOINT3 + 9, 0, | 363 | // 18 + 7 * USB_CFG_HAVE_INTRIN_ENDPOINT + 7 * USB_CFG_HAVE_INTRIN_ENDPOINT3 + 9, 0, |
| 364 | /* total length of data returned (including inlined descriptors) */ | 364 | /* total length of data returned (including inlined descriptors) */ |
| 365 | # if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE) | 365 | # if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE) |
| 366 | 2, /* number of interfaces in this configuration */ | 366 | 2, /* number of interfaces in this configuration */ |
| 367 | # else | 367 | # else |
| 368 | 1, | 368 | 1, |
| 369 | #endif | 369 | # endif |
| 370 | 1, /* index of this configuration */ | 370 | 1, /* index of this configuration */ |
| 371 | 0, /* configuration name string index */ | 371 | 0, /* configuration name string index */ |
| 372 | # if USB_CFG_IS_SELF_POWERED | 372 | # if USB_CFG_IS_SELF_POWERED |
| @@ -419,13 +419,13 @@ const PROGMEM char usbDescriptorConfiguration[] = { | |||
| 419 | 0, /* PROTOCOL: none */ | 419 | 0, /* PROTOCOL: none */ |
| 420 | 0, /* string index for interface */ | 420 | 0, /* string index for interface */ |
| 421 | /* HID descriptor */ | 421 | /* HID descriptor */ |
| 422 | 9, /* sizeof(usbDescrHID): length of descriptor in bytes */ | 422 | 9, /* sizeof(usbDescrHID): length of descriptor in bytes */ |
| 423 | USBDESCR_HID, /* descriptor type: HID */ | 423 | USBDESCR_HID, /* descriptor type: HID */ |
| 424 | 0x01, 0x01, /* BCD representation of HID version */ | 424 | 0x01, 0x01, /* BCD representation of HID version */ |
| 425 | 0x00, /* target country code */ | 425 | 0x00, /* target country code */ |
| 426 | 0x01, /* number of HID Report (or other HID class) Descriptor infos to follow */ | 426 | 0x01, /* number of HID Report (or other HID class) Descriptor infos to follow */ |
| 427 | 0x22, /* descriptor type: report */ | 427 | 0x22, /* descriptor type: report */ |
| 428 | sizeof(mouse_extra_hid_report), 0, /* total length of report descriptor */ | 428 | sizeof(mouse_extra_hid_report), 0, /* total length of report descriptor */ |
| 429 | # if USB_CFG_HAVE_INTRIN_ENDPOINT3 /* endpoint descriptor for endpoint 3 */ | 429 | # if USB_CFG_HAVE_INTRIN_ENDPOINT3 /* endpoint descriptor for endpoint 3 */ |
| 430 | /* Endpoint descriptor */ | 430 | /* Endpoint descriptor */ |
| 431 | 7, /* sizeof(usbDescrEndpoint) */ | 431 | 7, /* sizeof(usbDescrEndpoint) */ |
