mirror of https://github.com/m-labs/artiq.git
spi: do not shift when starting a xfer, closes #495
This commit is contained in:
parent
4a6c270afe
commit
71921de5bd
|
@ -125,7 +125,7 @@ class SPIMachine(Module):
|
||||||
NextState("WAIT"),
|
NextState("WAIT"),
|
||||||
)
|
)
|
||||||
).Else(
|
).Else(
|
||||||
self.reg.shift.eq(1),
|
self.reg.shift.eq(~self.start),
|
||||||
NextState("SETUP"),
|
NextState("SETUP"),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue