summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-09-27 12:41:46 -0400
committerWilliam D. Jones <[email protected]>2019-09-27 21:22:19 -0400
commitc4483d244b04a6679d85376e3e686c23b9ee82af (patch)
tree55443b06df4451a60cdbaac1b56754cb97ebdaba /src/device
parent01b4115b0b26a9fb5c706daf320c85556d16f920 (diff)
Fix typo of CFG_TUD_ENDOINT0_SIZE.
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c
index 4ec432185..eed933f68 100644
--- a/src/device/usbd_control.c
+++ b/src/device/usbd_control.c
@@ -124,7 +124,7 @@ bool usbd_control_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t result
_control_state.total_transferred += xferred_bytes;
_control_state.buffer += xferred_bytes;
- if ( _control_state.total_len == _control_state.total_transferred || xferred_bytes < CFG_TUD_ENDOINT0_SIZE )
+ if ( _control_state.total_len == _control_state.total_transferred || xferred_bytes < CFG_TUD_ENDPOINT0_SIZE )
{
// DATA stage is complete
bool is_ok = true;