Merge pull request #2316 from AlienWiiBF/SENSORSSET

Remove unused SENSORSET definition
This commit is contained in:
J Blackman 2017-02-06 05:19:08 +11:00 committed by GitHub
commit 7cee2602d1
10 changed files with 0 additions and 21 deletions

View File

@ -85,9 +85,6 @@
#define M25P16_CS_PIN PB12 #define M25P16_CS_PIN PB12
#define M25P16_SPI_INSTANCE SPI2 #define M25P16_SPI_INSTANCE SPI2
//#define SENSORS_SET (SENSOR_ACC | SENSOR_BARO | SENSOR_GPS | SENSOR_MAG)
#define SENSORS_SET (SENSOR_ACC)
#undef GPS #undef GPS
#define USE_FLASHFS #define USE_FLASHFS
#define USE_FLASH_M25P16 #define USE_FLASH_M25P16

View File

@ -135,8 +135,6 @@
#define I2C_DEVICE (I2CDEV_4) #define I2C_DEVICE (I2CDEV_4)
//#define I2C_DEVICE_EXT (I2CDEV_2) //#define I2C_DEVICE_EXT (I2CDEV_2)
#define SENSORS_SET (SENSOR_ACC|SENSOR_MAG|SENSOR_BARO)
#define USE_ADC #define USE_ADC
#define VBAT_ADC_PIN PC0 #define VBAT_ADC_PIN PC0
#define CURRENT_METER_ADC_PIN PC1 #define CURRENT_METER_ADC_PIN PC1

View File

@ -117,8 +117,6 @@
#define I2C3_SCL PA8 #define I2C3_SCL PA8
#define I2C3_SDA PC9 #define I2C3_SDA PC9
#define SENSORS_SET (SENSOR_ACC)
#define LED_STRIP #define LED_STRIP
// alternative defaults for Colibri/Gemini target // alternative defaults for Colibri/Gemini target

View File

@ -134,8 +134,6 @@
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
#define SENSORS_SET (SENSOR_ACC)
#define DEFAULT_FEATURES (FEATURE_BLACKBOX) #define DEFAULT_FEATURES (FEATURE_BLACKBOX)
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SBUS #define SERIALRX_PROVIDER SERIALRX_SBUS

View File

@ -84,8 +84,6 @@
#define M25P16_CS_PIN PB12 #define M25P16_CS_PIN PB12
#define M25P16_SPI_INSTANCE SPI2 #define M25P16_SPI_INSTANCE SPI2
#define SENSORS_SET (SENSOR_ACC)
#undef GPS #undef GPS
#define USE_FLASHFS #define USE_FLASHFS
#define USE_FLASH_M25P16 #define USE_FLASH_M25P16

View File

@ -136,8 +136,6 @@
//#define I2C_DEVICE_EXT (I2CDEV_2) //#define I2C_DEVICE_EXT (I2CDEV_2)
#define SENSORS_SET (SENSOR_ACC|SENSOR_MAG|SENSOR_BARO)
#define USE_ADC #define USE_ADC
#define VBAT_ADC_PIN PA3 #define VBAT_ADC_PIN PA3
#define CURRENT_METER_ADC_PIN PC0 #define CURRENT_METER_ADC_PIN PC0

View File

@ -164,8 +164,6 @@
#define LED_STRIP #define LED_STRIP
#define SENSORS_SET (SENSOR_ACC)
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define DEFAULT_FEATURES (FEATURE_BLACKBOX | FEATURE_VBAT) #define DEFAULT_FEATURES (FEATURE_BLACKBOX | FEATURE_VBAT)

View File

@ -68,8 +68,6 @@
#define USE_SPI #define USE_SPI
#define USE_SPI_DEVICE_2 #define USE_SPI_DEVICE_2
#define SENSORS_SET (SENSOR_ACC)
#define TELEMETRY #define TELEMETRY
#define BLACKBOX #define BLACKBOX
#define SERIAL_RX #define SERIAL_RX

View File

@ -92,8 +92,6 @@
#define SPI2_MISO_PIN PB14 #define SPI2_MISO_PIN PB14
#define SPI2_MOSI_PIN PB15 #define SPI2_MOSI_PIN PB15
#define SENSORS_SET (SENSOR_ACC | SENSOR_BARO | SENSOR_GPS | SENSOR_MAG)
#define USE_ADC #define USE_ADC
#define BOARD_HAS_VOLTAGE_DIVIDER #define BOARD_HAS_VOLTAGE_DIVIDER

View File

@ -186,8 +186,6 @@
#define LED_STRIP #define LED_STRIP
#define SENSORS_SET (SENSOR_ACC)
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#if defined(PODIUMF4) #if defined(PODIUMF4)
#define SERIALRX_PROVIDER SERIALRX_SBUS #define SERIALRX_PROVIDER SERIALRX_SBUS