Skip to content

Commit

Permalink
fix reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
elcritch committed Nov 4, 2020
1 parent 457222a commit ddecd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nesper/spis.nim
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ proc fullTrans*(dev: SpiDev;

if result.trn.length <= 32:
result.trn.rx_buffer = nil
for i in 0..<high(txdata):
for i in 0..high(txdata):
result.trn.txdata[i] = txdata[i]
else:
# This order is important, copy the seq then take the unsafe addr
Expand Down

0 comments on commit ddecd38

Please sign in to comment.