summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics.c
diff options
context:
space:
mode:
authorjenkins <jenkins@teamw.in>2015-05-08 12:04:44 +0200
committerDees Troy <dees_troy@teamw.in>2015-06-17 23:39:37 +0200
commit796991360de431308c450dbe8caa2c84426090f4 (patch)
tree4c5de025c99daa5f0a49931177ae5cb2d9aa825a /minuitwrp/graphics.c
parentadd magic property.* value for accessing system property variables (diff)
downloadandroid_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.tar
android_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.tar.gz
android_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.tar.bz2
android_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.tar.lz
android_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.tar.xz
android_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.tar.zst
android_bootable_recovery-796991360de431308c450dbe8caa2c84426090f4.zip
Diffstat (limited to 'minuitwrp/graphics.c')
-rw-r--r--minuitwrp/graphics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/minuitwrp/graphics.c b/minuitwrp/graphics.c
index 1465ce99b..704389fdf 100644
--- a/minuitwrp/graphics.c
+++ b/minuitwrp/graphics.c
@@ -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++;