From e6630af5a4c8760ddb2519d4178c0550e112475a Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 23 Mar 2013 23:43:25 +0700 Subject: [PATCH] clean up --- tinyusb/host/ehci/ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }