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/spi_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/spi_lld.c')
-rw-r--r-- | os/hal/platforms/LPC8xx/spi_lld.c | 6 |
1 files changed, 3 insertions, 3 deletions
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);
|