diff options
| author | hathach <[email protected]> | 2013-11-11 14:02:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-11 14:02:55 +0700 |
| commit | d8f32a79fc9e04136afcd8f4d79abe7a9b0c2eb9 (patch) | |
| tree | b9d7548e4b6bf6d09e4472270a78d6a73602c233 /tinyusb/device | |
| parent | 9a81cbcd59cb64bce4c24cbffed2b02eaea5d2b2 (diff) | |
technically, mouse + keyboard device demo also work on lpc13uxx
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/dcd_lpc13uxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/dcd_lpc13uxx.c b/tinyusb/device/dcd_lpc13uxx.c index c0ec8567f..25739d31f 100644 --- a/tinyusb/device/dcd_lpc13uxx.c +++ b/tinyusb/device/dcd_lpc13uxx.c @@ -182,7 +182,7 @@ static void bus_reset(void) {
memclr_(&dcd_data, sizeof(dcd_lpc13xx_data_t));
for(uint8_t ep_id = 2; ep_id < DCD_LPC13XX_QHD; ep_id++)
- {
+ { // disable all non-control endpoints on bus reset
dcd_data.qhd[ep_id][0].disable = dcd_data.qhd[ep_id][1].disable = 1;
}
|
