Fix minor issue.
- Change set_EP0_max_pkt_size() to set_EP0_max_pkt_size(void).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user