Compare commits
2 Commits
9bda3f29f4
...
b9e1185f86
Author | SHA1 | Date | |
---|---|---|---|
b9e1185f86
|
|||
a660b2ca26 |
@ -83,8 +83,6 @@ fn main() -> ! {
|
||||
// Can't really verify correct behaviour here. Just verify nothing crazy happens or it hangs up.
|
||||
spi0.read(&mut rx_buf[0..2]).unwrap();
|
||||
|
||||
// If the pins are tied together, we should received exactly what we send.
|
||||
|
||||
let mut inplace_buf = tx_buf;
|
||||
spi0.transfer_in_place(&mut inplace_buf)
|
||||
.expect("SPI transfer_in_place failed");
|
||||
|
Reference in New Issue
Block a user