Skip to content

Commit a054dac

Browse files
authored
map $SpiSlave to SpiSlave struct
1 parent 5b66aa4 commit a054dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub trait Instance:
167167
macro_rules! spi {
168168
($SPI:ty: $Spi:ident, $SpiSlave:ident) => {
169169
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>;
170+
pub type $SpiSlave<const BIDI: bool = false, W = u8> = SpiSlave<$SPI, BIDI, W>;
171171

172172
impl Instance for $SPI {
173173
fn ptr() -> *const spi1::RegisterBlock {

0 commit comments

Comments
 (0)