summaryrefslogtreecommitdiff
path: root/tinyusb/device/dcd_lpc175x_6x.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-11 16:13:50 +0700
committerhathach <[email protected]>2013-06-11 16:13:50 +0700
commitd55f9ecef133e9650226c6313f4a2506060956ef (patch)
tree46a83f433495dcb459d4c7ca28448edda13d0c6c /tinyusb/device/dcd_lpc175x_6x.c
parent72b5b61597c91d146b332149dd4408b511c5441d (diff)
get pass set address
Diffstat (limited to 'tinyusb/device/dcd_lpc175x_6x.c')
-rw-r--r--tinyusb/device/dcd_lpc175x_6x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/device/dcd_lpc175x_6x.c b/tinyusb/device/dcd_lpc175x_6x.c
index 9d3ca62af..9235d216f 100644
--- a/tinyusb/device/dcd_lpc175x_6x.c
+++ b/tinyusb/device/dcd_lpc175x_6x.c
@@ -126,7 +126,8 @@ void endpoint_control_isr(uint8_t coreid)
usbd_isr(0, TUSB_EVENT_SETUP_RECEIVED);
}else
{
- //ASSERT(false, (void) 0); // not current supported
+ // RxPLen should be zero for zero-length status phase. Current not support any out control with data yet
+ ASSERT(LPC_USB->USBRxPLen == 0, (void) 0);
}
sie_command_write(SIE_CMDCODE_ENDPOINT_SELECT+0, 0, 0);
sie_command_write(SIE_CMDCODE_BUFFER_CLEAR, 0, 0);