init blockmode was not set

This commit is contained in:
Robin Müller 2021-12-11 17:45:06 +01:00
parent 1db363fe1a
commit 063a7a56e5
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -428,6 +428,7 @@ macro_rules! spi {
w.sod().bit(sod); w.sod().bit(sod);
w.ms().bit(ms); w.ms().bit(ms);
w.mdlycap().bit(mdlycap); w.mdlycap().bit(mdlycap);
w.blockmode().bit(init_blockmode);
unsafe { w.ss().bits(ss) } unsafe { w.ss().bits(ss) }
}); });