Merge "Use absolute path for udc device" into main
This commit is contained in:
commit
9601e0f266
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ constexpr char kProcInterruptsPath[] = "/proc/interrupts";
|
||||||
constexpr char kProcIrqPath[] = "/proc/irq/";
|
constexpr char kProcIrqPath[] = "/proc/irq/";
|
||||||
constexpr char kSmpAffinityList[] = "/smp_affinity_list";
|
constexpr char kSmpAffinityList[] = "/smp_affinity_list";
|
||||||
#ifndef UDC_PATH
|
#ifndef UDC_PATH
|
||||||
#define UDC_PATH "/sys/class/udc/11210000.dwc3/"
|
#define UDC_PATH "/sys/devices/platform/11210000.usb/11210000.dwc3/udc/11210000.dwc3/"
|
||||||
#endif
|
#endif
|
||||||
static MonitorFfs monitorFfs(kGadgetName);
|
static MonitorFfs monitorFfs(kGadgetName);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue