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

Commit 9d01f0e6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "first_stage_init: increase serial console tries to 50" am: 0919f10f

Change-Id: I7a529b7383e906afc4418a788a79691c407c52d8
parents 61bd06d0 0919f10f
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);