diff options
Diffstat (limited to 'adb/adb.cpp')
-rw-r--r-- | adb/adb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/adb/adb.cpp b/adb/adb.cpp index f64b19f..c2ac674 100644 --- a/adb/adb.cpp +++ b/adb/adb.cpp @@ -54,6 +54,8 @@ int HOST = 0; #if !ADB_HOST const char *adb_device_banner = "device"; + +int recovery_mode = 0; #endif void fatal(const char *fmt, ...) @@ -194,6 +196,8 @@ void adb_trace_init() { #if !ADB_HOST start_device_log(); + + recovery_mode = (strcmp(adb_device_banner, "recovery") == 0); #endif } |