summary refs log tree commit diff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-01 18:57:37 +0000
committerGitHub <noreply@github.com>2021-11-01 18:57:37 +0000
commitee371c1295f00c119dd5a1bb2f3d4acedff832a7 (patch)
treecd1b6941fac2541a2e9ceab547a7048965edb6c0 /tmk_core/protocol
parent4bf7ce2298dff3f9e256115ff551a86cf239b421 (diff)
Fix up issues shown by clang-format of vusb (#15004)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/vusb/vusb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c
index e4db5d0654..bd0f1c21aa 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) {
 #ifdef DIGITIZER_ENABLE
     if (usbInterruptIsReadyShared()) {
         usbSetInterruptShared((void *)report, sizeof(report_digitizer_t));
+    }
 #endif
 }
 
@@ -569,7 +570,7 @@ const PROGMEM uchar shared_hid_report[] = {
     0x09, 0x31,        //     Usage (Y)
     0x81, 0x02,        //     Input (Data, Variable, Absolute)
     0xC0,              //   End Collection
-    0xC0               // End Collection
+    0xC0,              // End Collection
 #endif
 
 #ifdef PROGRAMMABLE_BUTTON_ENABLE
@@ -589,7 +590,7 @@ const PROGMEM uchar shared_hid_report[] = {
     0x75, 0x01,                           //     Report Size (1)
     0x81, 0x02,                           //     Input (Data, Variable, Absolute)
     0xC0,                                 //   End Collection
-    0xC0                                  // End Collection
+    0xC0,                                 // End Collection
 #endif
 
 #ifdef SHARED_EP_ENABLE