mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-10 02:02:21 +02:00
Flag to enable pressure/mag
This commit is contained in:
parent
a77a859e5c
commit
720684c248
@ -59,10 +59,10 @@
|
|||||||
/* Select the sensors to include */
|
/* Select the sensors to include */
|
||||||
//#define PIOS_INCLUDE_BMA180
|
//#define PIOS_INCLUDE_BMA180
|
||||||
//#define PIOS_INCLUDE_HMC5883
|
//#define PIOS_INCLUDE_HMC5883
|
||||||
#define PIOS_INCLUDE_MPU6000
|
//#define PIOS_INCLUDE_MPU6000
|
||||||
#define PIOS_MPU6000_ACCEL
|
//#define PIOS_MPU6000_ACCEL
|
||||||
//#define PIOS_INCLUDE_L3GD20
|
//#define PIOS_INCLUDE_L3GD20
|
||||||
//#define PIOS_INCLUDE_MS5611
|
#define PIOS_INCLUDE_MS5611
|
||||||
//#define PIOS_INCLUDE_HCSR04
|
//#define PIOS_INCLUDE_HCSR04
|
||||||
#define PIOS_FLASH_ON_ACCEL /* true for second revo */
|
#define PIOS_FLASH_ON_ACCEL /* true for second revo */
|
||||||
#define FLASH_FREERTOS
|
#define FLASH_FREERTOS
|
||||||
|
@ -805,7 +805,6 @@ void PIOS_Board_Init(void) {
|
|||||||
PIOS_Assert(PIOS_BMA180_Test() == 0);
|
PIOS_Assert(PIOS_BMA180_Test() == 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(PIOS_INCLUDE_HMC5883)
|
#if defined(PIOS_INCLUDE_HMC5883)
|
||||||
PIOS_HMC5883_Init(&pios_hmc5883_cfg);
|
PIOS_HMC5883_Init(&pios_hmc5883_cfg);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user