From 53c164a93bc23f84d0a31ce4ddd850b5408c1a93 Mon Sep 17 00:00:00 2001 From: theshed Date: Mon, 8 Apr 2013 21:16:36 +0000 Subject: remove trailing whitespace git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5575 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/LPC8xx/spi_lld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal/platforms/LPC8xx/spi_lld.c') diff --git a/os/hal/platforms/LPC8xx/spi_lld.c b/os/hal/platforms/LPC8xx/spi_lld.c index f9f4a9409..d5a8a4047 100644 --- a/os/hal/platforms/LPC8xx/spi_lld.c +++ b/os/hal/platforms/LPC8xx/spi_lld.c @@ -56,7 +56,7 @@ static void spi_load_txdata(SPIDriver *spip) { if (--spip->txcnt == 0) { spi->TXCTRL |= SPI_TXCTRL_EOT; } - + if (spip->txptr != NULL) { if ((spi->TXCTRL & SPI_TXCTRL_FLEN_MASK) > SPI_TXCTRL_FLEN(8)) { const uint16_t *p = spip->txptr; @@ -88,7 +88,7 @@ static void spi_serve_interrupt(SPIDriver *spip) { LPC8xx_SPI_ERROR_HOOK(spip); spi->STAT = (SPI_STAT_RXOV | SPI_STAT_TXUR); } - + if (spi->INTSTAT & SPI_STAT_TXRDY) { spi_load_txdata( spip ); } @@ -230,7 +230,7 @@ void spi_lld_stop(SPIDriver *spip) { if (spip->state != SPI_STOP) { spip->spi->CFG = 0; - + #if LPC8xx_SPI_USE_SPI0 if (&SPID1 == spip) { nvicDisableVector(SPI0_IRQn); -- cgit v1.2.3