clean up
This commit is contained in:
parent
0c5e0ef0f3
commit
e6630af5a4
|
@ -136,7 +136,7 @@ void hcd_port_reset(uint8_t hostid)
|
||||||
#ifndef _TEST_
|
#ifndef _TEST_
|
||||||
// NXP specific, port reset will automatically be 0 when reset sequence complete
|
// NXP specific, port reset will automatically be 0 when reset sequence complete
|
||||||
// there is chance device is unplugged while reset sequence is not 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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue