]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
fixed pixel bug
authorJan Michel <j.michel@gsi.de>
Fri, 3 Jan 2014 17:22:56 +0000 (18:22 +0100)
committerJan Michel <j.michel@gsi.de>
Fri, 3 Jan 2014 17:22:56 +0000 (18:22 +0100)
wasa/source/lcd.vhd

index dbe3119c1cd2eeed61dfb627ac1e0ba378ed0330..157e091aa3222d76973ce809887f8a5f5f4624b5 100644 (file)
@@ -453,7 +453,6 @@ fsm : process begin
             spi_data <= x"20";\r
           end if;\r
           spi_send <= '1';\r
-          pixcnt   <= pixcnt + 1;\r
         else\r
           state   <= WRITEWAIT;\r
           fontpos <= fontpos + 1;\r
@@ -473,7 +472,8 @@ fsm : process begin
         else\r
           spi_data <= x"8B";\r
         end if;\r
-        state <= WRITEFONT;\r
+        state   <= WRITEFONT;\r
+        pixcnt  <= pixcnt + 1;\r
       end if;\r
       \r
       \r