Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51ae53fa authored by Will Mcvicker's avatar Will Mcvicker Committed by Android (Google) Code Review
Browse files

Merge "first_stage_init: increase serial console tries to 50" into rvc-dev

parents a680e261 283128f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ void StartConsole() {
        return;
    }
    int fd = -1;
    int tries = 10;
    int tries = 50; // should timeout after 5s
    // The device driver for console may not be ready yet so retry for a while in case of failure.
    while (tries--) {
        fd = open("/dev/console", O_RDWR);