Fix control msg type
This commit is contained in:
parent
9c98ae8911
commit
537f375321
1 changed files with 3 additions and 3 deletions
|
@ -157,7 +157,7 @@ static grub_err_t
|
||||||
grub_usb_keyboard_getreport (grub_usb_device_t dev, grub_uint8_t *report)
|
grub_usb_keyboard_getreport (grub_usb_device_t dev, grub_uint8_t *report)
|
||||||
{
|
{
|
||||||
return grub_usb_control_msg (dev, GRUB_USB_REQTYPE_CLASS_INTERFACE_IN,
|
return grub_usb_control_msg (dev, GRUB_USB_REQTYPE_CLASS_INTERFACE_IN,
|
||||||
USB_HID_GET_REPORT, 0, 0, 8, (char *) report);
|
USB_HID_GET_REPORT, 0x0100, 0, 8, (char *) report);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue