aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-04 07:21:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-04 07:21:34 +0000
commitcbce43930a29bf4afac6cffa9a80f489ac11e9a4 (patch)
tree8c72ee6aa6b16e2f776ee813a0a6f35edee44d2a
parent0755c754f4cf355cd730675ee297804a98bd6716 (diff)
downloadChibiOS-cbce43930a29bf4afac6cffa9a80f489ac11e9a4.tar.gz
ChibiOS-cbce43930a29bf4afac6cffa9a80f489ac11e9a4.tar.bz2
ChibiOS-cbce43930a29bf4afac6cffa9a80f489ac11e9a4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5808 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c6
1 files 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);
}
/**