Fix minor issue.

- Change set_EP0_max_pkt_size() to set_EP0_max_pkt_size(void).
This commit is contained in:
Reinhard Panhuber 2020-09-28 19:23:38 +02:00
parent 529622710c
commit 9c837300f1
1 changed files with 1 additions and 1 deletions

View File

@ -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);