Fix typo of CFG_TUD_ENDOINT0_SIZE.

This commit is contained in:
Nathan Conrad
2019-09-27 12:41:46 -04:00
committed by William D. Jones
parent 01b4115b0b
commit c4483d244b
19 changed files with 27 additions and 27 deletions

View File

@@ -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;