remove get_endpoint_descriptor and change all functions needing
descriptor to just receive it as argument rather than endpoint address.
This commit is contained in:
parent
5dd6f58789
commit
e5a2dd7b55
11 changed files with 51 additions and 70 deletions
|
@ -41,7 +41,7 @@ usbdebug_late_hw_put (struct grub_serial_port *port, const int c)
|
|||
{
|
||||
char cc = c;
|
||||
|
||||
grub_usb_bulk_write (port->usbdev, port->out_endp->endp_addr, 1, &cc);
|
||||
grub_usb_bulk_write (port->usbdev, port->out_endp, 1, &cc);
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue