aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_rcc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
index 694febb60..d74d940fe 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
@@ -1562,7 +1562,7 @@
*
* @api
*/
-#if defined(STM32_FSMC_IS_FMC)
+#if STM32_FSMC_IS_FMC
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FMCEN, lp)
#else
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FSMCEN, lp)
@@ -1575,7 +1575,7 @@
*
* @api
*/
-#if defined(STM32_FSMC_IS_FMC)
+#if STM32_FSMC_IS_FMC
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FMCEN, lp)
#else
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FSMCEN, lp)
@@ -1586,7 +1586,7 @@
*
* @api
*/
-#if defined(STM32_FSMC_IS_FMC)
+#if STM32_FSMC_IS_FMC
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FMCRST)
#else
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FSMCRST)