mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-18 16:21:18 +00:00
Fix minor issue.
- Change set_EP0_max_pkt_size() to set_EP0_max_pkt_size(void).
This commit is contained in:
parent
529622710c
commit
9c837300f1
@ -264,7 +264,7 @@ static void bus_reset(uint8_t rhport)
|
||||
}
|
||||
|
||||
// Required after new configuration received in case EP0 max packet size has changed
|
||||
static void set_EP0_max_pkt_size()
|
||||
static void set_EP0_max_pkt_size(void)
|
||||
{
|
||||
USB_OTG_DeviceTypeDef * dev = DEVICE_BASE(rhport);
|
||||
USB_OTG_INEndpointTypeDef * in_ep = IN_EP_BASE(rhport);
|
||||
|
Loading…
x
Reference in New Issue
Block a user