diff options
author | theshed <theshed@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-08 21:16:36 +0000 |
---|---|---|
committer | theshed <theshed@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-08 21:16:36 +0000 |
commit | 53c164a93bc23f84d0a31ce4ddd850b5408c1a93 (patch) | |
tree | 55722976e38aa05ed7581a133423ea43d6ab5d06 /os/hal/platforms/LPC8xx/serial_lld.c | |
parent | f2e40f1ace6b9539187bd0e2a98a50e0d863e87b (diff) | |
download | ChibiOS-53c164a93bc23f84d0a31ce4ddd850b5408c1a93.tar.gz ChibiOS-53c164a93bc23f84d0a31ce4ddd850b5408c1a93.tar.bz2 ChibiOS-53c164a93bc23f84d0a31ce4ddd850b5408c1a93.zip |
remove trailing whitespace
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5575 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC8xx/serial_lld.c')
-rw-r--r-- | os/hal/platforms/LPC8xx/serial_lld.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/platforms/LPC8xx/serial_lld.c b/os/hal/platforms/LPC8xx/serial_lld.c index 8dc7733b2..e9b53dc72 100644 --- a/os/hal/platforms/LPC8xx/serial_lld.c +++ b/os/hal/platforms/LPC8xx/serial_lld.c @@ -77,7 +77,7 @@ static void set_error(SerialDriver *sdp, IOREG32 err) { sts |= SD_FRAMING_ERROR;
if (err & STAT_RXBRK)
sts |= SD_BREAK_DETECTED;
-
+
chSysLockFromIsr();
chnAddFlagsI(sdp, sts);
chSysUnlockFromIsr();
@@ -96,7 +96,7 @@ static void serve_interrupt(SerialDriver *sdp) { LPC_USART_TypeDef *u = sdp->uart;
while (u->INTSTAT) {
-
+
if (u->INTSTAT & STAT_RXRDY) {
chSysLockFromIsr();
if (chIQIsEmptyI(&sdp->iqueue))
@@ -105,7 +105,7 @@ static void serve_interrupt(SerialDriver *sdp) { chnAddFlagsI(sdp, SD_OVERRUN_ERROR);
chSysUnlockFromIsr();
}
-
+
if (u->INTSTAT & STAT_TXRDY) {
msg_t b;
@@ -124,7 +124,7 @@ static void serve_interrupt(SerialDriver *sdp) { u->TXDATA = b;
}
}
-
+
if (u->INTSTAT & (STAT_OVERRUN | STAT_DELTARXBRK |
STAT_FRAMERR | STAT_PARITYERR) ) {
IOREG32 stat = u->STAT;
@@ -265,7 +265,7 @@ void sd_lld_start( SerialDriver *sdp, const SerialConfig *config ) { config = &default_config;
if (sdp->state == SD_STOP) {
-
+
#if LPC8xx_SERIAL_USE_UART0
if (&SD1 == sdp) {
LPC_SYSCON->SYSAHBCLKCTRL |= (1<<14); // Enable Clk
|