summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-23 23:43:25 +0700
committerhathach <[email protected]>2013-03-23 23:43:25 +0700
commite6630af5a4c8760ddb2519d4178c0550e112475a (patch)
treefd49681c6c49623ef132430733d16199aec381e1 /tinyusb/host
parent0c5e0ef0f37b88990c995de465792d0e50eb8cda (diff)
clean up
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/ehci/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c
index 731efbfaf..119f514f7 100644
--- a/tinyusb/host/ehci/ehci.c
+++ b/tinyusb/host/ehci/ehci.c
@@ -136,7 +136,7 @@ void hcd_port_reset(uint8_t hostid)
#ifndef _TEST_
// NXP specific, port reset will automatically be 0 when reset sequence complete
// there is chance device is unplugged while reset sequence is not complete
- while( regs->portsc_bit.port_reset /*&& regs->portsc_bit.current_connect_status*/ ) {}
+ while( regs->portsc_bit.port_reset) {}
#endif
}