stm32/dma: impl all variants
This commit is contained in:
committed by
Bob McWhirter
parent
69fb1b5418
commit
3d1391ef2d
@@ -61,7 +61,7 @@ fn main() -> ! {
|
||||
let mut cs = Output::new(p.PE0, Level::High, Speed::VeryHigh);
|
||||
|
||||
loop {
|
||||
let mut buf = [0x0A; 4];
|
||||
let mut buf = [0x0Au8; 4];
|
||||
unwrap!(cs.set_low());
|
||||
unwrap!(spi.transfer(&mut buf));
|
||||
unwrap!(cs.set_high());
|
||||
|
||||
Reference in New Issue
Block a user