Commit 999219d7 authored by Captain Throwback's avatar Captain Throwback Committed by Dees Troy
Browse files

Update CUSTOM_LUN_FILE from AOSP USB config

AOSP has used a standard USB config for the last 3 years.
Time to update TWRP for devices that still use UMS.

Reference: https://android.googlesource.com/platform/system/core/+/master/rootdir/init.usb.rc

Change-Id: I59690f955a7d6db9ae9d607d46299652b52fe8b8
parent 37d42994
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
//#define MAX_ARCHIVE_SIZE 52428800LLU // 50MB split for testing //#define MAX_ARCHIVE_SIZE 52428800LLU // 50MB split for testing
#ifndef CUSTOM_LUN_FILE #ifndef CUSTOM_LUN_FILE
#define CUSTOM_LUN_FILE "/sys/devices/platform/usb_mass_storage/lun%d/file" #define CUSTOM_LUN_FILE "/sys/class/android_usb/android0/f_mass_storage/lun%d/file"
#endif #endif
#ifndef TW_BRIGHTNESS_PATH #ifndef TW_BRIGHTNESS_PATH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment