From 44b532e648fefdecfe0388ff981cba0c96a9b532 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 8 Jun 2017 14:42:31 -0600 Subject: [PATCH] configs/: a few more places where SPIDEV_WIRELELSS should be SPIDEV_CONTACTLESS. --- configs/shenzhou/src/stm32_spi.c | 2 +- configs/stm32_tiny/src/stm32_spi.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/shenzhou/src/stm32_spi.c b/configs/shenzhou/src/stm32_spi.c index 6aeee5018ba..277a5f27b43 100644 --- a/configs/shenzhou/src/stm32_spi.c +++ b/configs/shenzhou/src/stm32_spi.c @@ -179,7 +179,7 @@ void stm32_spi3select(FAR struct spi_dev_s *dev, uint32_t devid, bool selected) stm32_gpiowrite(GPIO_LCDSD_CS, !selected); } - else if (devid == SPIDEV_WIRELESS(0)) + else if (devid == SPIDEV_CONTACTLESS(0)) { /* Set the GPIO low to select and high to de-select */ diff --git a/configs/stm32_tiny/src/stm32_spi.c b/configs/stm32_tiny/src/stm32_spi.c index abaac37b9e9..c1ed253abba 100644 --- a/configs/stm32_tiny/src/stm32_spi.c +++ b/configs/stm32_tiny/src/stm32_spi.c @@ -125,7 +125,7 @@ void stm32_spi2select(FAR struct spi_dev_s *dev, uint32_t devid, bool selected) switch(devid) { #ifdef CONFIG_WL_NRF24L01 - case SPIDEV_WIRELESS(0): + case SPIDEV_CONTACTLESS(0): spiinfo("nRF24L01 device %s\n", selected ? "asserted" : "de-asserted"); /* Set the GPIO low to select and high to de-select */ @@ -144,7 +144,7 @@ uint8_t stm32_spi2status(FAR struct spi_dev_s *dev, uint32_t devid) switch(devid) { #ifdef CONFIG_WL_NRF24L01 - case SPIDEV_WIRELESS(0): + case SPIDEV_CONTACTLESS(0): status |= SPI_STATUS_PRESENT; break; #endif