diff options
-rw-r--r-- | os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c | 6 |
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);
}
/**
|