summaryrefslogtreecommitdiff
path: root/src/portable/nxp/lpc17_40
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-09-27 12:41:46 -0400
committerNathan Conrad <[email protected]>2019-09-27 12:41:46 -0400
commit4ccdc5522d202daec98e2bb6536a4ed0ccd98b9a (patch)
treeeabd7d907a85150005d4ec32da5e48265232a1ba /src/portable/nxp/lpc17_40
parent9a8d23e95ed6a48b3a3d43f7cf7d3f360ee61977 (diff)
Fix typo of CFG_TUD_ENDOINT0_SIZE.
Diffstat (limited to 'src/portable/nxp/lpc17_40')
-rw-r--r--src/portable/nxp/lpc17_40/dcd_lpc17_40.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/nxp/lpc17_40/dcd_lpc17_40.c b/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
index d5f90d2a7..8c439616a 100644
--- a/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
+++ b/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
@@ -172,8 +172,8 @@ void dcd_init(uint8_t rhport)
//------------- user manual 11.13 usb device controller initialization -------------//
// step 6 : set up control endpoint
- set_ep_size(0, CFG_TUD_ENDOINT0_SIZE);
- set_ep_size(1, CFG_TUD_ENDOINT0_SIZE);
+ set_ep_size(0, CFG_TUD_ENDPOINT0_SIZE);
+ set_ep_size(1, CFG_TUD_ENDPOINT0_SIZE);
bus_reset();