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 b77854f245
commit d2e1d8f6ee

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