Skip to content

Commit

Permalink
default full trans to full read unless overriden -- re-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
elcritch committed Nov 4, 2020
1 parent 22817d2 commit c2e6306
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 @@ -190,7 +190,7 @@ proc fullTrans*(dev: SpiDev;
spi_id.inc()
var tflags = flags
assert txlength.int() <= 8*len(txdata)
assert rxlength.int() >= 0
# assert rxlength.int() >= 0

result = new(SpiTrans)
result.dev = dev
Expand Down

0 comments on commit c2e6306

Please sign in to comment.