From aaebbd0965cbbec70daf3a15e8297a9042d6fab0 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 3 Jan 2014 18:22:56 +0100 Subject: [PATCH] fixed pixel bug --- wasa/source/lcd.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wasa/source/lcd.vhd b/wasa/source/lcd.vhd index dbe3119..157e091 100644 --- a/wasa/source/lcd.vhd +++ b/wasa/source/lcd.vhd @@ -453,7 +453,6 @@ fsm : process begin spi_data <= x"20"; end if; spi_send <= '1'; - pixcnt <= pixcnt + 1; else state <= WRITEWAIT; fontpos <= fontpos + 1; @@ -473,7 +472,8 @@ fsm : process begin else spi_data <= x"8B"; end if; - state <= WRITEFONT; + state <= WRITEFONT; + pixcnt <= pixcnt + 1; end if; -- 2.43.0