mirror of
https://github.com/dschmenk/PLASMA.git
synced 2024-06-26 06:29:28 +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…
Reference in New Issue
Block a user