From: chaoskagami Date: Tue, 21 Jun 2016 19:58:17 +0000 (-0400) Subject: Flush garbage out of the FB memory when screeinit'ing X-Git-Tag: v0.1.1~2 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=35f7bf47818c5021a777f283f1c046fe29ceeb04;p=corbenik%2Fcorbenik.git Flush garbage out of the FB memory when screeinit'ing --- diff --git a/source/screeninit.c b/source/screeninit.c index 81cc4c8..b2432cd 100644 --- a/source/screeninit.c +++ b/source/screeninit.c @@ -25,5 +25,8 @@ screen_init() // Turn on backlight i2cWriteRegister(I2C_DEV_MCU, 0x22, 0x2A); + + // Flush garbage off the FB. + clear_screens(); } }