soc/cores/i2c: remove unnecessary code

This commit is contained in:
Andrew Dennison 2023-08-24 08:49:21 +10:00
parent 64ccd6df1c
commit aef6cb3103
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class I2CMasterMachine(Module):
NextValue(self.sda_o, ~self.ack), NextValue(self.sda_o, ~self.ack),
NextState("WRITEACK0"), NextState("WRITEACK0"),
).Else( ).Else(
NextValue(self.sda_o, 1), #NextValue(self.sda_o, 1), must already be high
NextState("READ2"), NextState("READ2"),
) )
) )