Fix report size of boot protocol.
This commit is contained in:
parent
054c86bfe8
commit
1c5c9d94c8
@ -1130,7 +1130,7 @@ void send_keyboard(report_keyboard_t *report) {
|
|||||||
} else
|
} else
|
||||||
#endif /* NKRO_ENABLE */
|
#endif /* NKRO_ENABLE */
|
||||||
{ /* boot protocol */
|
{ /* boot protocol */
|
||||||
usbPrepareTransmit(&USB_DRIVER, KBD_ENDPOINT, (uint8_t *)report, sizeof(report_keyboard_t));
|
usbPrepareTransmit(&USB_DRIVER, KBD_ENDPOINT, (uint8_t *)report, KBD_EPSIZE);
|
||||||
osalSysLock();
|
osalSysLock();
|
||||||
usbStartTransmitI(&USB_DRIVER, KBD_ENDPOINT);
|
usbStartTransmitI(&USB_DRIVER, KBD_ENDPOINT);
|
||||||
osalSysUnlock();
|
osalSysUnlock();
|
||||||
|
Reference in New Issue
Block a user