From aef6cb3103843014cedff3005a6ba3072e251bf6 Mon Sep 17 00:00:00 2001 From: Andrew Dennison Date: Thu, 24 Aug 2023 08:49:21 +1000 Subject: [PATCH] soc/cores/i2c: remove unnecessary code --- litex/soc/cores/i2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/i2c.py b/litex/soc/cores/i2c.py index 811e0f1bf..8d2fb50ad 100644 --- a/litex/soc/cores/i2c.py +++ b/litex/soc/cores/i2c.py @@ -141,7 +141,7 @@ class I2CMasterMachine(Module): NextValue(self.sda_o, ~self.ack), NextState("WRITEACK0"), ).Else( - NextValue(self.sda_o, 1), + #NextValue(self.sda_o, 1), must already be high NextState("READ2"), ) )