From 2db4a18d555360b2e4cd3918e7ae5950a94c3c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armandas=20Jaru=C5=A1auskas?= Date: Sat, 5 Oct 2024 07:56:33 +0900 Subject: [PATCH] Fix doc --- avr-hal-generic/src/usart_spi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {