STM32: Fix conditional compilation of TIM SYSLOG initialization
This commit is contained in:
parent
3acc09c056
commit
166d307add
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue