This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f79b47a  tiva_serial.c: Make this buildable with certain configurations
f79b47a is described below

commit f79b47ad25e4f79e14ce737d8c80c1f45fbd2c56
Author: YAMAMOTO Takashi <yamam...@midokura.com>
AuthorDate: Fri Feb 14 15:27:40 2020 +0900

    tiva_serial.c: Make this buildable with certain configurations
---
 arch/arm/src/tiva/common/tiva_serial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/tiva/common/tiva_serial.c 
b/arch/arm/src/tiva/common/tiva_serial.c
index c852c8b..a6ccc0f 100644
--- a/arch/arm/src/tiva/common/tiva_serial.c
+++ b/arch/arm/src/tiva/common/tiva_serial.c
@@ -1322,7 +1322,7 @@ static bool up_txempty(struct uart_dev_s *dev)
  *
  ****************************************************************************/
 
-#ifndef CONFIG_NO_SERIAL_CONSOLE
+#ifdef USE_EARLYSERIALINIT
 void up_earlyserialinit(void)
 {
   /* NOTE:  All GPIO configuration for the UARTs was performed in
@@ -1361,7 +1361,7 @@ void up_earlyserialinit(void)
   up_setup(&CONSOLE_DEV);
 #endif
 }
-#endif /* !CONFIG_NO_SERIAL_CONSOLE */
+#endif /* !USE_EARLYSERIALINIT */
 
 /****************************************************************************
  * Name: up_serialinit

Reply via email to