From 6b84637a5ba6a61058e68c7148322e7d7a6f3b35 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 4 Jun 2016 13:04:13 -0600 Subject: [PATCH] Update some comments --- arch/arm/src/kl/kl_getc.c | 4 ++++ arch/arm/src/lpc11xx/lpc11_getc.c | 6 +++++- arch/arm/src/stm32/stm32_getc.c | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/kl/kl_getc.c b/arch/arm/src/kl/kl_getc.c index cee3195dd0..8b63ec217d 100644 --- a/arch/arm/src/kl/kl_getc.c +++ b/arch/arm/src/kl/kl_getc.c @@ -70,6 +70,10 @@ * Description: * Input one byte from the serial console * + * REVIST: If used with the serial driver enabled, then this could + * interfere with the serial driver operations. Serial interrupts should + * be disabled when this function executes in that case. + * ****************************************************************************/ int up_getc(void) diff --git a/arch/arm/src/lpc11xx/lpc11_getc.c b/arch/arm/src/lpc11xx/lpc11_getc.c index 9d733b2e3e..f809e9d343 100644 --- a/arch/arm/src/lpc11xx/lpc11_getc.c +++ b/arch/arm/src/lpc11xx/lpc11_getc.c @@ -67,7 +67,11 @@ * Name: up_getc * * Description: - * Input one byte from the serial console + * Input one byte from the serial console. + * + * REVIST: If used with the serial driver enabled, then this could + * interfere with the serial driver operations. Serial interrupts should + * be disabled when this function executes in that case. * ****************************************************************************/ diff --git a/arch/arm/src/stm32/stm32_getc.c b/arch/arm/src/stm32/stm32_getc.c index e5fbb0fa3d..de9020bab4 100644 --- a/arch/arm/src/stm32/stm32_getc.c +++ b/arch/arm/src/stm32/stm32_getc.c @@ -89,6 +89,10 @@ * Description: * Read one byte from the serial console * + * REVIST: If used with the serial driver enabled, then this could + * interfere with the serial driver operations. Serial interrupts should + * be disabled when this function executes in that case. + * ****************************************************************************/ int up_getc(void)