[imu] aspirin: print SPI/I2C devices

This commit is contained in:
Felix Ruess
2013-04-09 10:10:25 +02:00
parent d89e21542b
commit c8549797ad
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -35,14 +35,17 @@
#ifndef ASPIRIN_SPI_SLAVE_IDX
#define ASPIRIN_SPI_SLAVE_IDX SPI_SLAVE2
#endif
PRINT_CONFIG_VAR(ASPIRIN_SPI_SLAVE_IDX)
#ifndef ASPIRIN_SPI_DEV
#define ASPIRIN_SPI_DEV spi2
#endif
PRINT_CONFIG_VAR(ASPIRIN_SPI_DEV)
#ifndef ASPIRIN_I2C_DEV
#define ASPIRIN_I2C_DEV i2c2
#endif
PRINT_CONFIG_VAR(ASPIRIN_I2C_DEV)
#ifndef ASPIRIN_ACCEL_RATE
#define ASPIRIN_ACCEL_RATE ADXL345_RATE_800HZ
@@ -37,6 +37,7 @@
#ifndef ASPIRIN_I2C_DEV
#define ASPIRIN_I2C_DEV i2c2
#endif
PRINT_CONFIG_VAR(ASPIRIN_I2C_DEV)
/** adxl345 accelerometer output rate, lowpass is set to half of rate */
#ifndef ASPIRIN_ACCEL_RATE