diff --git a/src/vhdl/keypad_i2c.vhdl b/src/vhdl/keypad_i2c.vhdl index ee7d0d736..b115305a6 100644 --- a/src/vhdl/keypad_i2c.vhdl +++ b/src/vhdl/keypad_i2c.vhdl @@ -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);