From e9899dda94b7015af0204552e6a5d862a4bbf651 Mon Sep 17 00:00:00 2001
From: Dispsylala <marcus.watson@loumiaconsulting.com>
Date: Sun, 13 Oct 2019 17:40:58 +0100
Subject: [PATCH] Overrides default inky library to change timings on black
 rendering

---
 pwnagotchi/ui/inkyphat/inkyfast.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pwnagotchi/ui/inkyphat/inkyfast.py b/pwnagotchi/ui/inkyphat/inkyfast.py
index bdbd3ec..955e8e6 100644
--- a/pwnagotchi/ui/inkyphat/inkyfast.py
+++ b/pwnagotchi/ui/inkyphat/inkyfast.py
@@ -13,7 +13,8 @@ class InkyFast(Inky):
                 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000,
                 0b01001000, 0b10100101, 0b00000000, 0b10111011, 0b00000000, 0b00000000, 0b00000000,
                 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000,
-                0x04, 0x04, 0x04, 0x04, 0x04,
+                # The following timings have been reduced to avoid the fade to black
+                0x00, 0x00, 0x00, 0x00, 0x00,
                 0x10, 0x04, 0x04, 0x04, 0x04,
                 0x04, 0x08, 0x08, 0x10, 0x10,
                 0x00, 0x00, 0x00, 0x00, 0x00,