configs/stm32f103-minumum SPI: SPIDEV_WIRELESS used when this has changed to SPIDEV_CONTACTLESS
This commit is contained in:
parent
8b907c4c1f
commit
fb8cfe857e
|
@ -136,7 +136,7 @@ void stm32_spi1select(FAR struct spi_dev_s *dev, uint32_t devid,
|
|||
#endif
|
||||
|
||||
#if defined(CONFIG_CL_MFRC522)
|
||||
if (devid == SPIDEV_WIRELESS(0))
|
||||
if (devid == SPIDEV_CONTACTLESS(0))
|
||||
{
|
||||
stm32_gpiowrite(GPIO_CS_MFRC522, !selected);
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ void stm32_spi1select(FAR struct spi_dev_s *dev, uint32_t devid,
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_WL_NRF24L01
|
||||
if (devid == SPIDEV_WIRELESS(0))
|
||||
if (devid == SPIDEV_CONTACTLESS(0))
|
||||
{
|
||||
stm32_gpiowrite(GPIO_NRF24L01_CS, !selected);
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ uint8_t stm32_spi1status(FAR struct spi_dev_s *dev, uint32_t devid)
|
|||
uint8_t status = 0;
|
||||
|
||||
#ifdef CONFIG_WL_NRF24L01
|
||||
if (devid == SPIDEV_WIRELESS(0))
|
||||
if (devid == SPIDEV_CONTACTLESS(0))
|
||||
{
|
||||
status |= SPI_STATUS_PRESENT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue