diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-09-03 21:19:43 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-09-03 21:22:50 +0200 |
commit | 6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e (patch) | |
tree | 0e655bbdc41f5f10474ddc9ebe4a77b8ea35c550 /mtp/twrpMtp.cpp | |
parent | Improve error handling during MTP startup (diff) | |
download | android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.tar android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.tar.gz android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.tar.bz2 android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.tar.lz android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.tar.xz android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.tar.zst android_bootable_recovery-6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e.zip |
Diffstat (limited to '')
-rwxr-xr-x | mtp/twrpMtp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mtp/twrpMtp.cpp b/mtp/twrpMtp.cpp index ff58f79a7..6fe0ee3e8 100755 --- a/mtp/twrpMtp.cpp +++ b/mtp/twrpMtp.cpp @@ -68,7 +68,9 @@ int main(int argc, char* argv[]) { } #endif //def TWRPMTP -twrpMtp::twrpMtp() { +twrpMtp::twrpMtp(int debug_enabled = 0) { + if (debug_enabled) + MtpDebug::enableDebug(); mtpstorages = new storages; } |