diff --git a/usb/UsbGadget.h b/usb/UsbGadget.h index 32b173f..93c7d66 100644 --- a/usb/UsbGadget.h +++ b/usb/UsbGadget.h @@ -66,8 +66,7 @@ using ::android::hardware::usb::gadget::V1_1::IUsbGadget; using ::std::string; constexpr char kGadgetName[] = "a600000.dwc3"; -constexpr char kExtconUsbState[] = "/sys/class/extcon/extcon4/cable.0/state"; -static MonitorFfs monitorFfs(kGadgetName, kExtconUsbState); +static MonitorFfs monitorFfs(kGadgetName); struct UsbGadget : public IUsbGadget { UsbGadget();