mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:18:06 +11:00
124da6adec
Although the SPI Relay driver is RC2014-specific, the SD Card driver is generic enough to be a subsystem. That's the second subsystem we add and this warrants, I think, the formalization of a new concept: protocols.
4 lines
69 B
Plaintext
4 lines
69 B
Plaintext
( send-and-crc7 )
|
|
( n c -- c )
|
|
: _s+crc SWAP DUP (spix) DROP _crc7 ;
|