Update hcd_rp2040.c
Remove reference to the deprecated "num" and "in" members of struct hw_endpoint which still exist in an assert statement and break DEBUG builds.
This commit is contained in:
parent
ee00918b7c
commit
13b510ad8e
|
@ -487,7 +487,6 @@ bool hcd_setup_send(uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet
|
||||||
// EP0 out
|
// EP0 out
|
||||||
_hw_endpoint_init(ep, dev_addr, 0x00, ep->wMaxPacketSize, 0, 0);
|
_hw_endpoint_init(ep, dev_addr, 0x00, ep->wMaxPacketSize, 0, 0);
|
||||||
assert(ep->configured);
|
assert(ep->configured);
|
||||||
assert(ep->num == 0 && !ep->in);
|
|
||||||
ep->total_len = 8;
|
ep->total_len = 8;
|
||||||
ep->transfer_size = 8;
|
ep->transfer_size = 8;
|
||||||
ep->active = true;
|
ep->active = true;
|
||||||
|
|
Loading…
Reference in New Issue