diff options
Diffstat (limited to 'android/main.c')
-rw-r--r-- | android/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/android/main.c b/android/main.c index acc91e6..7b6ea03 100644 --- a/android/main.c +++ b/android/main.c @@ -161,7 +161,11 @@ int main(int argc, char **argv) char* args[128]; int n; char* opt; - int serial = 0; + /* The emulator always uses the first serial port for kernel messages + * and the second one for qemud. So start at the third if we need one + * for logcat or 'shell' + */ + int serial = 2; int shell_serial = 0; AndroidHwConfig* hw; |