diff options
| author | hathach <[email protected]> | 2018-11-23 15:22:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-11-23 15:22:46 +0700 |
| commit | f196b24dce1531eae8e049bbe35df79996fe4155 (patch) | |
| tree | 9213e2c9849b0f9ed9ca308eeb97f9f2c1b6523c /src/device/usbd.c | |
| parent | a619ff88a36e4b841cb5901135b1811b06c3c843 (diff) | |
rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESS
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 710eba553..8c7e588e0 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -581,7 +581,7 @@ void dcd_event_handler(dcd_event_t const * event, bool in_isr) if ( 0 == edpt_number(event->xfer_complete.ep_addr) && event->xfer_complete.len == 0) break;
osal_queue_send(_usbd_q, event, in_isr);
- TU_ASSERT(event->xfer_complete.result == DCD_XFER_SUCCESS,);
+ TU_ASSERT(event->xfer_complete.result == XFER_RESULT_SUCCESS,);
break;
default: break;
|
