Fix USB adb driver

This commit is contained in:
HuangXin 2018-07-25 10:32:39 +08:00
parent a5a74174ba
commit 2adf008a66
2 changed files with 1 additions and 8 deletions

View File

@ -50,7 +50,7 @@ atomic_t thread_suspend_flag;
static int usb_device_scan_thread(void *pArg)
{
/* delay for udc & hcd ready */
msleep(3000);
msleep(5000);
while (thread_device_run_flag) {

View File

@ -1,7 +0,0 @@
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
# patch for enable usb adb
cat /sys/devices/platform/soc/usbc0/usb_device
exit 0