X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/36a53ce255c40f7051820ffbaaac1dd646a83bfb..7a6a1ff70fc526bd7f7feacdf2f25ee77f779260:/heartbeat/source/heartbeat.vhd?ds=sidebyside diff --git a/heartbeat/source/heartbeat.vhd b/heartbeat/source/heartbeat.vhd index cae72cd..a396160 100644 --- a/heartbeat/source/heartbeat.vhd +++ b/heartbeat/source/heartbeat.vhd @@ -46,7 +46,7 @@ if (rising_edge(clk_i)) then led9_o <= state(7); counter := counter + 1; if counter = divider then - if state(7) = '1' then + if state(3) = '1' then direction := '1'; end if;