diff --git a/avr-hal-generic/src/usart_spi.rs b/avr-hal-generic/src/usart_spi.rs index bad8d1818c..e6ecbfb45f 100644 --- a/avr-hal-generic/src/usart_spi.rs +++ b/avr-hal-generic/src/usart_spi.rs @@ -48,7 +48,7 @@ macro_rules! add_usart_spi { ) => { $crate::paste::paste! { // This is quite a messy way to get the doc string working properly... but it works! - #[doc = concat!("**Clock:** `", stringify!($sclkpin), "`
**MOSI:** `", stringify!($mosipin), "`
**MISO:** `", stringify!($misopin), "`
**CS:** `", stringify!($cspin), "`")] + #[doc = concat!("**Clock:** `", stringify!($sclkpin), "`
**MOSI:** `", stringify!($mosipin), "`
**MISO:** `", stringify!($misopin), "`")] pub type [] = avr_hal_generic::usart_spi::UsartSpi<$HAL, $USART_SPI, $sclkpin, $mosipin, $misopin>; impl $crate::spi::SpiOps<$HAL, $sclkpin, $mosipin, $misopin, $crate::usart_spi::UsartSPIDummyPin> for $USART_SPI {