mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1658 - baro support for revonano
This commit is contained in:
parent
43f04a340b
commit
e4dc6b0b64
@ -29,7 +29,7 @@ USE_DSP_LIB ?= NO
|
||||
# List of mandatory modules to include
|
||||
MODULES += Sensors
|
||||
MODULES += StateEstimation
|
||||
MODULES += Altitude/revolution
|
||||
#MODULES += Altitude/revolution
|
||||
#MODULES += Airspeed
|
||||
|
||||
MODULES += Stabilization
|
||||
|
@ -57,7 +57,7 @@
|
||||
#define PIOS_INCLUDE_TASK_MONITOR
|
||||
|
||||
#define PIOS_INCLUDE_INSTRUMENTATION
|
||||
#define PIOS_INSTRUMENTATION_MAX_COUNTERS 10
|
||||
#define PIOS_INSTRUMENTATION_MAX_COUNTERS 40
|
||||
|
||||
/* PIOS hardware peripherals */
|
||||
#define PIOS_INCLUDE_IRQ
|
||||
|
@ -728,10 +728,6 @@ void PIOS_Board_Init(void)
|
||||
PIOS_ADC_Init(&pios_adc_cfg);
|
||||
#endif
|
||||
|
||||
#if defined(PIOS_INCLUDE_MS5611)
|
||||
PIOS_MS5611_Init(&pios_ms5611_cfg, pios_i2c_pressure_adapter_id);
|
||||
#endif
|
||||
|
||||
#if defined(PIOS_INCLUDE_MPU9250)
|
||||
PIOS_MPU9250_Init(pios_spi_gyro_id, 0, &pios_mpu9250_cfg);
|
||||
PIOS_MPU9250_CONFIG_Configure();
|
||||
@ -739,6 +735,11 @@ void PIOS_Board_Init(void)
|
||||
PIOS_MPU9250_MagRegister();
|
||||
#endif
|
||||
|
||||
#if defined(PIOS_INCLUDE_MS5611)
|
||||
PIOS_MS5611_Init(&pios_ms5611_cfg, pios_i2c_pressure_adapter_id);
|
||||
PIOS_MS5611_Register();
|
||||
#endif
|
||||
|
||||
#ifdef PIOS_INCLUDE_WS2811
|
||||
#include <pios_ws2811.h>
|
||||
HwSettingsWS2811LED_OutOptions ws2811_pin_settings;
|
||||
|
Loading…
Reference in New Issue
Block a user