aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/serial_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-07-31 07:02:45 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-07-31 07:02:45 +0000
commit5b5861688bf496ecedab9b1960ed13daf34422a1 (patch)
tree5fc0c0d10e6040f6382a9abaf9a4e10923876294 /os/hal/platforms/STM32/serial_lld.c
parent8e4fd21b2b79a1f9f3c3601d6d344a9bfd4cc060 (diff)
downloadChibiOS-5b5861688bf496ecedab9b1960ed13daf34422a1.tar.gz
ChibiOS-5b5861688bf496ecedab9b1960ed13daf34422a1.tar.bz2
ChibiOS-5b5861688bf496ecedab9b1960ed13daf34422a1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2100 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/serial_lld.c')
-rw-r--r--os/hal/platforms/STM32/serial_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/serial_lld.c b/os/hal/platforms/STM32/serial_lld.c
index 30b89109a..d46d660e2 100644
--- a/os/hal/platforms/STM32/serial_lld.c
+++ b/os/hal/platforms/STM32/serial_lld.c
@@ -70,7 +70,7 @@ static const SerialConfig default_config =
{
SERIAL_DEFAULT_BITRATE,
0,
- USART_CR2_STOP1_BITS,
+ USART_CR2_STOP1_BITS | USART_CR2_LINEN,
0
};