We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$SpiSlave
SpiSlave
1 parent 5b66aa4 commit a054dacCopy full SHA for a054dac
src/spi.rs
@@ -167,7 +167,7 @@ pub trait Instance:
167
macro_rules! spi {
168
($SPI:ty: $Spi:ident, $SpiSlave:ident) => {
169
pub type $Spi<const BIDI: bool = false, W = u8> = Spi<$SPI, BIDI, W>;
170
- pub type $SpiSlave<const BIDI: bool = false, W = u8> = Spi<$SPI, BIDI, W>;
+ pub type $SpiSlave<const BIDI: bool = false, W = u8> = SpiSlave<$SPI, BIDI, W>;
171
172
impl Instance for $SPI {
173
fn ptr() -> *const spi1::RegisterBlock {
0 commit comments