From d2a9b5bfd856db84b2284e236021d01e4ff3b0a6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 19 May 2012 15:30:51 +0000 Subject: Report for STM32F0xx, serial driver working. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4215 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F0xx/serial_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal') 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.*/ -- cgit v1.2.3