framebuffer: s6 edge takes a little lomger to initialize fb0
Change-Id: I48a5b25a227afb8637fcce7e4a1e2fc6bcc56b03
This commit is contained in:
@@ -167,7 +167,8 @@ static int get_framebuffer(GGLSurface *fb)
|
||||
void *bits;
|
||||
|
||||
fd = open("/dev/graphics/fb0", O_RDWR);
|
||||
while (fd < 0 && index < 10) {
|
||||
|
||||
while (fd < 0 && index < 30) {
|
||||
usleep(1000);
|
||||
fd = open("/dev/graphics/fb0", O_RDWR);
|
||||
index++;
|
||||
|
||||
Reference in New Issue
Block a user