diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-03-01 02:37:36 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@5.9.244.119> | 2013-03-01 02:37:36 +0100 |
commit | 07712b22265ec199487eeaa5c34be70266ae039c (patch) | |
tree | 5b3efe9d075c2d267370d5b2259ad7d0e4677c96 /minuitwrp/graphics.c | |
parent | Fix file selector crash (diff) | |
parent | Add 2 second pre-dim and bugfix blank timer (diff) | |
download | android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.gz android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.bz2 android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.lz android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.xz android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.zst android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.zip |
Diffstat (limited to 'minuitwrp/graphics.c')
-rw-r--r-- | minuitwrp/graphics.c | 3 |
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) |