summaryrefslogtreecommitdiff
path: root/tinyusb/device/dcd_lpc175x_6x.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-21 15:24:02 +0700
committerhathach <[email protected]>2013-11-21 15:24:02 +0700
commitd1ef89a1543581d1703ea43b0056b5112fd64019 (patch)
tree25b9f34fd8d42c1a178c3acfd4a92f2d25a2a2b3 /tinyusb/device/dcd_lpc175x_6x.c
parentc303154b7a2af8e934308d9115e7b6da23c66419 (diff)
fixed lpc11u/13u VBUS (P0_3) with pulldown resistor for USB_VBUS_DEBOUNCED is correct
added disconnect callback for lpc11u/13u
Diffstat (limited to 'tinyusb/device/dcd_lpc175x_6x.c')
-rw-r--r--tinyusb/device/dcd_lpc175x_6x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/dcd_lpc175x_6x.c b/tinyusb/device/dcd_lpc175x_6x.c
index cebe31ea3..d755b94ee 100644
--- a/tinyusb/device/dcd_lpc175x_6x.c
+++ b/tinyusb/device/dcd_lpc175x_6x.c
@@ -218,7 +218,7 @@ void dcd_isr(uint8_t coreid)
}
if ( (dev_status_reg & SIE_DEV_STATUS_CONNECT_CHANGE_MASK) && !(dev_status_reg & SIE_DEV_STATUS_CONNECT_STATUS_MASK))
- { // device is disconnected, require using VBUS (P1_30)
+ { // TODO device is disconnected, require using VBUS (P1_30), cannot use CONNECT_STATUS as connection status
usbd_dcd_bus_event_isr(0, USBD_BUS_EVENT_UNPLUGGED);
}