From c16bea74d1bd114925d291516bd790f8458796e5 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Sat, 6 Apr 2024 02:56:20 +1030 Subject: [PATCH] fix max_state for keypad_i2c #798 --- src/vhdl/keypad_i2c.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);