From cbce43930a29bf4afac6cffa9a80f489ac11e9a4 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 4 Jun 2013 07:21:34 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5808 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c index 27cc23ae2..f4c0bef9e 100644 --- a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c +++ b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c @@ -882,8 +882,7 @@ void spi_lld_stop(SPIDriver *spip) { */ void spi_lld_select(SPIDriver *spip) { - (void)spip; - + palClearPad(spip->config->ssport, spip->config->sspad); } /** @@ -896,8 +895,7 @@ void spi_lld_select(SPIDriver *spip) { */ void spi_lld_unselect(SPIDriver *spip) { - (void)spip; - + palSetPad(spip->config->ssport, spip->config->sspad); } /** -- cgit v1.2.3