STM32: Fix conditional compilation of TIM SYSLOG initialization

This commit is contained in:
Gregory Nutt 2015-10-01 08:39:21 -06:00
parent 3acc09c056
commit 166d307add
1 changed files with 1 additions and 1 deletions

View File

@ -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 */