spi: do not shift when starting a xfer, closes #495

This commit is contained in:
Robert Jördens 2016-07-04 12:22:47 +02:00
parent 4a6c270afe
commit 71921de5bd
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class SPIMachine(Module):
NextState("WAIT"),
)
).Else(
self.reg.shift.eq(1),
self.reg.shift.eq(~self.start),
NextState("SETUP"),
)
)