summaryrefslogtreecommitdiff
path: root/src/device/usbd_control.c
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-10-02 00:09:07 -0400
committerNathan Conrad <[email protected]>2019-10-02 00:09:07 -0400
commit838cfe02c16e2ef949f9418a1462017b8b07d0fd (patch)
tree2399875656f221f05595970324758c91817911e2 /src/device/usbd_control.c
parentf19082f02d1ff3cd9f458476fd558a7e7fabc1bf (diff)
parentee63111ea08b0cc5c37a4dcc8511b8031128cb7d (diff)
Merge remote-tracking branch 'origin/master' into ST_FSDEV_EP0
Diffstat (limited to 'src/device/usbd_control.c')
-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 eecc95edb..f5c442b74 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 = ((uint8_t*)_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;