Fix OLIMEXINO build (no-baro)
This commit is contained in:
parent
fe89d40fa0
commit
7e76fd6995
|
@ -196,7 +196,9 @@ int main(void)
|
|||
ACC_SetCalibrationCycles(CALIBRATING_ACC_CYCLES);
|
||||
}
|
||||
GYRO_SetCalibrationCycles(CALIBRATING_GYRO_CYCLES);
|
||||
#ifdef BARO
|
||||
Baro_SetCalibrationCycles(CALIBRATING_BARO_CYCLES);
|
||||
#endif
|
||||
|
||||
f.SMALL_ANGLE = 1;
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
#include "drivers/barometer_common.h"
|
||||
|
||||
baro_t baro; // barometer access functions
|
||||
uint16_t calibratingB = 0; // baro calibration = get new ground pressure value
|
||||
|
||||
#ifdef BARO
|
||||
uint16_t calibratingB = 0; // baro calibration = get new ground pressure value
|
||||
|
||||
static int32_t baroGroundAltitude = 0;
|
||||
static int32_t baroGroundPressure = 0;
|
||||
|
|
Loading…
Reference in New Issue