mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Renamed SPIDEV_GSENSOR to SPIDEV_ACCELEROMETER just because it looks better beside SPIDEV_BAROMETER
This commit is contained in:
@@ -168,7 +168,7 @@ void kl_spi0select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,
|
||||
(int)devid, selected ? "assert" : "de-assert");
|
||||
|
||||
#ifdef CONFIG_ADXL345_SPI
|
||||
if (devid == SPIDEV_GSENSOR)
|
||||
if (devid == SPIDEV_ACCELEROMETER)
|
||||
{
|
||||
/* Active low */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user