mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 22:53:01 +00:00
Remove some nonfunctional logic that also generates warnings
This commit is contained in:
parent
0f8a416b20
commit
36f1d84374
1 changed files with 0 additions and 6 deletions
|
|
@ -3767,12 +3767,6 @@ static void sam_sw_setup(struct sam_usbdev_s *priv)
|
|||
|
||||
priv->eplist[epno].ep.maxpacket = SAM_UDP_MAXPACKETSIZE(epno);
|
||||
}
|
||||
|
||||
/* Select a smaller endpoint size for EP0 */
|
||||
|
||||
#if SAM_EP0MAXPACKET < SAM_MAXPACKET_SIZE
|
||||
priv->eplist[EP0].ep.maxpacket = SAM_EP0MAXPACKET;
|
||||
#endif
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue