diff options
author | Joel Challis <git@zvecr.com> | 2021-11-01 18:57:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 18:57:37 +0000 |
commit | ee371c1295f00c119dd5a1bb2f3d4acedff832a7 (patch) | |
tree | cd1b6941fac2541a2e9ceab547a7048965edb6c0 /tmk_core | |
parent | 4bf7ce2298dff3f9e256115ff551a86cf239b421 (diff) | |
download | qmk_firmware-ee371c1295f00c119dd5a1bb2f3d4acedff832a7.tar.gz qmk_firmware-ee371c1295f00c119dd5a1bb2f3d4acedff832a7.zip |
Fix up issues shown by clang-format of vusb (#15004)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/protocol/vusb/vusb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index e4db5d065..bd0f1c21a 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c | |||
@@ -297,6 +297,7 @@ void send_digitizer(report_digitizer_t *report) { | |||
297 | #ifdef DIGITIZER_ENABLE | 297 | #ifdef DIGITIZER_ENABLE |
298 | if (usbInterruptIsReadyShared()) { | 298 | if (usbInterruptIsReadyShared()) { |
299 | usbSetInterruptShared((void *)report, sizeof(report_digitizer_t)); | 299 | usbSetInterruptShared((void *)report, sizeof(report_digitizer_t)); |
300 | } | ||
300 | #endif | 301 | #endif |
301 | } | 302 | } |
302 | 303 | ||
@@ -569,7 +570,7 @@ const PROGMEM uchar shared_hid_report[] = { | |||
569 | 0x09, 0x31, // Usage (Y) | 570 | 0x09, 0x31, // Usage (Y) |
570 | 0x81, 0x02, // Input (Data, Variable, Absolute) | 571 | 0x81, 0x02, // Input (Data, Variable, Absolute) |
571 | 0xC0, // End Collection | 572 | 0xC0, // End Collection |
572 | 0xC0 // End Collection | 573 | 0xC0, // End Collection |
573 | #endif | 574 | #endif |
574 | 575 | ||
575 | #ifdef PROGRAMMABLE_BUTTON_ENABLE | 576 | #ifdef PROGRAMMABLE_BUTTON_ENABLE |
@@ -589,7 +590,7 @@ const PROGMEM uchar shared_hid_report[] = { | |||
589 | 0x75, 0x01, // Report Size (1) | 590 | 0x75, 0x01, // Report Size (1) |
590 | 0x81, 0x02, // Input (Data, Variable, Absolute) | 591 | 0x81, 0x02, // Input (Data, Variable, Absolute) |
591 | 0xC0, // End Collection | 592 | 0xC0, // End Collection |
592 | 0xC0 // End Collection | 593 | 0xC0, // End Collection |
593 | #endif | 594 | #endif |
594 | 595 | ||
595 | #ifdef SHARED_EP_ENABLE | 596 | #ifdef SHARED_EP_ENABLE |