Skip to content

Commit 8253697

Browse files
KarlK90fauxpark
andauthored
[FIX] ChibiOS: USB Digitizer and Joystick IN endpoint compilation (qmk#23854)
Co-authored-by: Ryan <fauxpark@gmail.com>
1 parent 282253a commit 8253697

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tmk_core/protocol/chibios/usb_endpoints.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ usb_endpoint_in_t usb_endpoints_in[USB_ENDPOINT_IN_COUNT] = {
5757
#endif
5858

5959
#if defined(JOYSTICK_ENABLE) && !defined(JOYSTICK_SHARED_EP)
60-
[USB_ENDPOINT_IN_JOYSTICK] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, JOYSTICK_EPSIZE, JOYSTICK_IN_EPNUM, JOYSTICK_IN_CAPACITY, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_joystick_t))),
60+
[USB_ENDPOINT_IN_JOYSTICK] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, JOYSTICK_EPSIZE, JOYSTICK_IN_EPNUM, JOYSTICK_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_joystick_t))),
6161
#endif
6262

6363
#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP)
64-
[USB_ENDPOINT_IN_JOYSTICK] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, DIGITIZER_EPSIZE, DIGITIZER_IN_EPNUM, DIGITIZER_IN_CAPACITY, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_digitizer_t))),
64+
[USB_ENDPOINT_IN_DIGITIZER] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, DIGITIZER_EPSIZE, DIGITIZER_IN_EPNUM, DIGITIZER_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_digitizer_t))),
6565
#endif
6666

6767
#if defined(CONSOLE_ENABLE)

tmk_core/protocol/usb_descriptor.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = {
990990
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
991991
.EndpointSize = JOYSTICK_EPSIZE,
992992
.PollingIntervalMS = USB_POLLING_INTERVAL_MS
993-
}
993+
},
994994
#endif
995995

996996
#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP)

0 commit comments

Comments
 (0)