Fix up issues shown by clang-format of vusb (#15004)

This commit is contained in:
Joel Challis 2021-11-01 18:57:37 +00:00 committed by GitHub
parent 4bf7ce2298
commit ee371c1295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,6 +297,7 @@ void send_digitizer(report_digitizer_t *report) {
#ifdef DIGITIZER_ENABLE #ifdef DIGITIZER_ENABLE
if (usbInterruptIsReadyShared()) { if (usbInterruptIsReadyShared()) {
usbSetInterruptShared((void *)report, sizeof(report_digitizer_t)); usbSetInterruptShared((void *)report, sizeof(report_digitizer_t));
}
#endif #endif
} }
@ -569,7 +570,7 @@ const PROGMEM uchar shared_hid_report[] = {
0x09, 0x31, // Usage (Y) 0x09, 0x31, // Usage (Y)
0x81, 0x02, // Input (Data, Variable, Absolute) 0x81, 0x02, // Input (Data, Variable, Absolute)
0xC0, // End Collection 0xC0, // End Collection
0xC0 // End Collection 0xC0, // End Collection
#endif #endif
#ifdef PROGRAMMABLE_BUTTON_ENABLE #ifdef PROGRAMMABLE_BUTTON_ENABLE
@ -589,7 +590,7 @@ const PROGMEM uchar shared_hid_report[] = {
0x75, 0x01, // Report Size (1) 0x75, 0x01, // Report Size (1)
0x81, 0x02, // Input (Data, Variable, Absolute) 0x81, 0x02, // Input (Data, Variable, Absolute)
0xC0, // End Collection 0xC0, // End Collection
0xC0 // End Collection 0xC0, // End Collection
#endif #endif
#ifdef SHARED_EP_ENABLE #ifdef SHARED_EP_ENABLE