summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-04-09 07:59:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-04-09 07:59:31 -0600
commite7c87b81000e3a77df7d7d7f1e14f7b3309ca1d0 (patch)
tree5e1f2e065337f8c42a40f9e04b88b4a7cfaf9c60
parent80839635abdc1c7cff0b3f5d2b31cc300f68fb7b (diff)
downloadpx4-nuttx-e7c87b81000e3a77df7d7d7f1e14f7b3309ca1d0.tar.gz
px4-nuttx-e7c87b81000e3a77df7d7d7f1e14f7b3309ca1d0.tar.bz2
px4-nuttx-e7c87b81000e3a77df7d7d7f1e14f7b3309ca1d0.zip
Cosmetic
-rw-r--r--nuttx/arch/arm/src/efm32/efm32_serial.c1
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_serial.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/efm32/efm32_serial.c b/nuttx/arch/arm/src/efm32/efm32_serial.c
index 139de55a2..92a2be9c1 100644
--- a/nuttx/arch/arm/src/efm32/efm32_serial.c
+++ b/nuttx/arch/arm/src/efm32/efm32_serial.c
@@ -1018,6 +1018,7 @@ static int efm32_ioctl(struct file *filep, int cmd, unsigned long arg)
config->baud = cfgetispeed(termiosp);
/* Just speed is yet implemented */
+
efm32_disableuartint(priv,&ien);
efm32_uartconfigure(config->uartbase, config->baud, config->parity,
diff --git a/nuttx/arch/arm/src/stm32/stm32_serial.c b/nuttx/arch/arm/src/stm32/stm32_serial.c
index 95d202e66..077bb7164 100644
--- a/nuttx/arch/arm/src/stm32/stm32_serial.c
+++ b/nuttx/arch/arm/src/stm32/stm32_serial.c
@@ -2045,7 +2045,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
priv->baud = cfgetispeed(termiosp);
- /* effect the changes immediately - note that we do not implement
+ /* Effect the changes immediately - note that we do not implement
* TCSADRAIN / TCSAFLUSH
*/