diff options
| -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 407b8ea75..3adbb9799 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c | |||
| @@ -518,7 +518,7 @@ static uint16_t get_hword(uint8_t *p) { | |||
| 518 | * Other Device Required Optional Optional Optional Optional Optional | 518 | * Other Device Required Optional Optional Optional Optional Optional |
| 519 | */ | 519 | */ |
| 520 | 520 | ||
| 521 | static uint8_t set_report_buf[2] __attribute__((aligned(2))); | 521 | static uint8_t set_report_buf[2] __attribute__((aligned(4))); |
| 522 | static void set_led_transfer_cb(USBDriver *usbp) { | 522 | static void set_led_transfer_cb(USBDriver *usbp) { |
| 523 | if (usbp->setup[6] == 2) { /* LSB(wLength) */ | 523 | if (usbp->setup[6] == 2) { /* LSB(wLength) */ |
| 524 | uint8_t report_id = set_report_buf[0]; | 524 | uint8_t report_id = set_report_buf[0]; |
