From 9d2d8d30eafd6a08284b387effe3647ba345a4b2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 20 May 2014 08:12:07 -0600 Subject: [PATCH] STM32 lowputc: Fix an error in conditional compilation. From Sami Pelkonen --- ChangeLog | 2 ++ arch/arm/src/stm32/stm32_lowputc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 932972cf579..74b95fb4661 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7343,4 +7343,6 @@ * sched/sig_mqnotempty.c: Test for a valid signal number is inverted; this function could not have been working correctly??? From eero.nurkkala (2014-5-20). + * arch/arm/src/stm32/stm32_lowputc.c: Fix error in conditional compilation. + From Sami PelKonen (2014-5-20). diff --git a/arch/arm/src/stm32/stm32_lowputc.c b/arch/arm/src/stm32/stm32_lowputc.c index 8ace1d6e223..dd7c0465365 100644 --- a/arch/arm/src/stm32/stm32_lowputc.c +++ b/arch/arm/src/stm32/stm32_lowputc.c @@ -572,7 +572,7 @@ void stm32_lowsetup(void) uint32_t cr; #endif -#if defined(CONFIG_HAVE_CONSOLE) +#if defined(HAVE_CONSOLE) /* Enable USART APB1/2 clock */ modifyreg32(STM32_CONSOLE_APBREG, 0, STM32_CONSOLE_APBEN);