diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-19 15:30:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-19 15:30:51 +0000 |
commit | d2a9b5bfd856db84b2284e236021d01e4ff3b0a6 (patch) | |
tree | eb7cb1b14ca7f7335cb177058fc43ca054abc7c3 /os | |
parent | ba01b11a39f178169fe1517458cbfc9c3f5f9a0f (diff) | |
download | ChibiOS-d2a9b5bfd856db84b2284e236021d01e4ff3b0a6.tar.gz ChibiOS-d2a9b5bfd856db84b2284e236021d01e4ff3b0a6.tar.bz2 ChibiOS-d2a9b5bfd856db84b2284e236021d01e4ff3b0a6.zip |
Report for STM32F0xx, serial driver working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4215 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32F0xx/serial_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F0xx/serial_lld.c b/os/hal/platforms/STM32F0xx/serial_lld.c index abb15b84a..a611279a4 100644 --- a/os/hal/platforms/STM32F0xx/serial_lld.c +++ b/os/hal/platforms/STM32F0xx/serial_lld.c @@ -166,7 +166,7 @@ static void serve_interrupt(SerialDriver *sdp) { u->CR1 = (cr1 & ~USART_CR1_TXEIE) | USART_CR1_TCIE;
}
else
- u->RDR = b;
+ u->TDR = b;
chSysUnlockFromIsr();
}
/* Physical transmission end.*/
|