diff options
| author | Joel Challis <git@zvecr.com> | 2020-01-12 22:21:42 +0000 |
|---|---|---|
| committer | fauxpark <fauxpark@gmail.com> | 2020-01-13 09:21:42 +1100 |
| commit | ff5742da9ff468a7e2743c23c2e8551503792401 (patch) | |
| tree | 25453d06fb4c3f9179cb10e085d28caa47b2df3c /tmk_core | |
| parent | 5cb83dd5d7c60f4f19905a6e35f30b6bbfe562be (diff) | |
| download | qmk_firmware-ff5742da9ff468a7e2743c23c2e8551503792401.tar.gz qmk_firmware-ff5742da9ff468a7e2743c23c2e8551503792401.zip | |
Fix KEYBOARD_SHARED_EP on ChibiOS (#7860)
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/chibios/usb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index 740763de2..a4f996b8d 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c | |||
| @@ -381,7 +381,7 @@ static uint16_t get_hword(uint8_t *p) { | |||
| 381 | * Other Device Required Optional Optional Optional Optional Optional | 381 | * Other Device Required Optional Optional Optional Optional Optional |
| 382 | */ | 382 | */ |
| 383 | 383 | ||
| 384 | #ifdef SHARED_EP_ENABLE | 384 | #if defined(SHARED_EP_ENABLE) && !defined(KEYBOARD_SHARED_EP) |
| 385 | static uint8_t set_report_buf[2] __attribute__((aligned(2))); | 385 | static uint8_t set_report_buf[2] __attribute__((aligned(2))); |
| 386 | static void set_led_transfer_cb(USBDriver *usbp) { | 386 | static void set_led_transfer_cb(USBDriver *usbp) { |
| 387 | if ((set_report_buf[0] == REPORT_ID_KEYBOARD) || (set_report_buf[0] == REPORT_ID_NKRO)) { | 387 | if ((set_report_buf[0] == REPORT_ID_KEYBOARD) || (set_report_buf[0] == REPORT_ID_NKRO)) { |
