diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-20 08:12:07 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-20 08:12:07 -0600 |
commit | e83378539e90cc6ad05140b38fe35d5f447b54ee (patch) | |
tree | 8c2706f7ec2ed867357ab51cc2b88e9bbce7efd7 | |
parent | e8c368058ebc1bbe757e2d1dfe31caf1764854f2 (diff) | |
download | nuttx-e83378539e90cc6ad05140b38fe35d5f447b54ee.tar.gz nuttx-e83378539e90cc6ad05140b38fe35d5f447b54ee.tar.bz2 nuttx-e83378539e90cc6ad05140b38fe35d5f447b54ee.zip |
STM32 lowputc: Fix an error in conditional compilation. From Sami Pelkonen
-rw-r--r-- | nuttx/ChangeLog | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_lowputc.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 932972cf5..74b95fb46 100644 --- a/nuttx/ChangeLog +++ b/nuttx/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/nuttx/arch/arm/src/stm32/stm32_lowputc.c b/nuttx/arch/arm/src/stm32/stm32_lowputc.c index 8ace1d6e2..dd7c04653 100644 --- a/nuttx/arch/arm/src/stm32/stm32_lowputc.c +++ b/nuttx/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); |