STM32 lowputc: Fix an error in conditional compilation. From Sami Pelkonen

This commit is contained in:
Gregory Nutt 2014-05-20 08:12:07 -06:00
parent 44a3397283
commit 9d2d8d30ea
2 changed files with 3 additions and 1 deletions

View File

@ -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).

View File

@ -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);