mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-02-20 17:29:11 +00:00
Clean up checks now that timing fixed
This commit is contained in:
parent
db2feb0feb
commit
6496092c3b
@ -93,7 +93,7 @@ def read(buf, len)
|
||||
spiSend(25) // READ
|
||||
spiSend(len >> 8); spiSend(len)
|
||||
len = (spiRecv << 8) | spiRecv
|
||||
if len > 0 and len <= 512
|
||||
if len > 0
|
||||
spiReadBuf(buf, len)
|
||||
fin
|
||||
return len
|
||||
|
Loading…
x
Reference in New Issue
Block a user