From 166d307add79661728cbac881d35e3820dcff5c2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 1 Oct 2015 08:39:21 -0600 Subject: [PATCH] STM32: Fix conditional compilation of TIM SYSLOG initialization --- arch/arm/src/stm32/stm32f40xxx_rcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32/stm32f40xxx_rcc.c b/arch/arm/src/stm32/stm32f40xxx_rcc.c index b2530bc0bbd..f0e16f40793 100644 --- a/arch/arm/src/stm32/stm32f40xxx_rcc.c +++ b/arch/arm/src/stm32/stm32f40xxx_rcc.c @@ -801,7 +801,7 @@ static void stm32_stdclockconfig(void) * ****************************************************************************/ -#if defined(CONFIG_SYSLOG) || defined(CONFIG_ARMV7M_ITMSYSLOG) +#if defined(CONFIG_SYSLOG) && defined(CONFIG_ARMV7M_ITMSYSLOG) static inline void rcc_itm_syslog(void) { /* Enable SWO output */