aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/sdc_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/sdc_lld.h b/os/hal/ports/STM32/sdc_lld.h
index 9db4160dd..f4a44d18c 100644
--- a/os/hal/ports/STM32/sdc_lld.h
+++ b/os/hal/ports/STM32/sdc_lld.h
@@ -259,11 +259,11 @@ struct SDCDriver {
* @brief Transmit DMA channel.
*/
const stm32_dma_stream_t *dma;
+#if CH_DBG_ENABLE_ASSERTS || defined(__DOXYGEN__)
/**
* @brief Pointer to the SDIO registers block.
* @note Used only for dubugging purpose.
*/
-#if CH_DBG_ENABLE_ASSERTS
SDIO_TypeDef *sdio;
#endif
};