Skip to content

Commit

Permalink
fix max_state for keypad_i2c #798
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Apr 5, 2024
1 parent acac60c commit c16bea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vhdl/keypad_i2c.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ end keypad_i2c;

architecture behavioural of keypad_i2c is

constant max_state : integer := 128;
constant max_state : integer := 127;

signal i2c1_address : unsigned(6 downto 0) := to_unsigned(0,7);
signal i2c1_address_internal : unsigned(6 downto 0) := to_unsigned(0,7);
Expand Down

0 comments on commit c16bea7

Please sign in to comment.