TW_SCREEN_BLANK_ON_BOOT will jolt the screen/touch driver.

If on the default settings the screen will only kick in to action
AFTER it has gone to sleep once and has been woken up again with a
key press, this will be needed to set to 'true' in the
BoardConfig.mk

The code was already there, Dees_Troy and I thought it would be
nice to make it a switch to control at compile time.

Change-Id: I5116a27afe9cba57122761c192ea3ee153d98162
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index d953ce7..59ee8ba 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -69,6 +69,9 @@
 ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"RGB_565")
   LOCAL_CFLAGS += -DRECOVERY_RGB_565
 endif
+ifeq ($(TW_SCREEN_BLANK_ON_BOOT), true)
+    LOCAL_CFLAGS += -DTW_SCREEN_BLANK_ON_BOOT
+endif
 
 ifeq ($(BOARD_HAS_FLIPPED_SCREEN), true)
 LOCAL_CFLAGS += -DBOARD_HAS_FLIPPED_SCREEN
diff --git a/minuitwrp/graphics.c b/minuitwrp/graphics.c
index 1144640..79b1e9a 100644
--- a/minuitwrp/graphics.c
+++ b/minuitwrp/graphics.c
@@ -789,8 +789,11 @@
     gl->enable(gl, GGL_BLEND);
     gl->blendFunc(gl, GGL_SRC_ALPHA, GGL_ONE_MINUS_SRC_ALPHA);
 
-//    gr_fb_blank(true);
-//    gr_fb_blank(false);
+#ifdef TW_SCREEN_BLANK_ON_BOOT
+    printf("TW_SCREEN_BLANK_ON_BOOT := true\n");
+    gr_fb_blank(true);
+    gr_fb_blank(false);
+#endif
 
     if (!alloc_ion_mem(fi.line_length * vi.yres))
         allocate_overlay(gr_fb_fd, gr_framebuffer);