summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics.c
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-02-28 22:31:48 +0100
committerDees_Troy <dees_troy@yahoo.com>2013-03-01 02:36:09 +0100
commit70237dc67552afea152dc2933ebc4f93cc97e0cc (patch)
treeb114b76cdf2057902204047ee55e7bc4b892a471 /minuitwrp/graphics.c
parentLoad user saved setting for blank timer on recovery startup (diff)
downloadandroid_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.gz
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.bz2
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.lz
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.xz
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.zst
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.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 dc79db881..61a98c3f7 100644
--- a/minuitwrp/graphics.c
+++ b/minuitwrp/graphics.c
@@ -685,13 +685,14 @@ gr_pixel *gr_fb_data(void)
return (unsigned short *) gr_mem_surface.data;
}
-void gr_fb_blank(int blank)
+int gr_fb_blank(int blank)
{
int ret;
ret = ioctl(gr_fb_fd, FBIOBLANK, blank ? FB_BLANK_POWERDOWN : FB_BLANK_UNBLANK);
if (ret < 0)
perror("ioctl(): blank");
+ return ret;
}
int gr_get_surface(gr_surface* surface)