// remove the below code from VbusHandler(void) function.
//don't understand why need to make 5000ms and reconnect again.
#if 0
Sleep(5000);
if(IsVbusOn())
SetInterruptEvent(SYSINTR_VBUS);
else
SetVbusInterrupt(FALSE);
#endif
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment