mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Fix up issues shown by clang-format of vusb (#15004)
This commit is contained in:
parent
4bf7ce2298
commit
ee371c1295
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue