Fix USB adb driver
This commit is contained in:
parent
a5a74174ba
commit
2adf008a66
|
@ -50,7 +50,7 @@ atomic_t thread_suspend_flag;
|
||||||
static int usb_device_scan_thread(void *pArg)
|
static int usb_device_scan_thread(void *pArg)
|
||||||
{
|
{
|
||||||
/* delay for udc & hcd ready */
|
/* delay for udc & hcd ready */
|
||||||
msleep(3000);
|
msleep(5000);
|
||||||
|
|
||||||
while (thread_device_run_flag) {
|
while (thread_device_run_flag) {
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue