diff options
| author | hathach <[email protected]> | 2019-09-29 13:05:39 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-29 13:05:39 +0700 |
| commit | 64467010410a8f08f77061b3f389ff7d71ddca84 (patch) | |
| tree | eabd7d907a85150005d4ec32da5e48265232a1ba /src/device | |
| parent | 9a8d23e95ed6a48b3a3d43f7cf7d3f360ee61977 (diff) | |
| parent | 4ccdc5522d202daec98e2bb6536a4ed0ccd98b9a (diff) | |
Merge pull request #186 from pigrew/EP0_size_typo
CFG_TUD_ENDOINT0_SIZE v CFG_TUD_ENPDOINT0_SIZE
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd_control.c | 2 |
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;
|
