1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Configurable Baro Type

We can disable/configure mag, acc, but why not baro?

ident
This commit is contained in:
borisbstyle 2015-08-16 23:03:46 +02:00 committed by Dominic Clifton
parent 6a24295525
commit 26f89b74bd
7 changed files with 12 additions and 8 deletions

View file

@ -18,13 +18,14 @@
#pragma once
typedef enum {
BARO_NONE = 0,
BARO_DEFAULT = 1,
BARO_DEFAULT = 0,
BARO_NONE = 1,
BARO_BMP085 = 2,
BARO_MS5611 = 3
} baroSensor_e;
#define BARO_SAMPLE_COUNT_MAX 48
#define BARO_MAX BARO_MS5611
typedef struct barometerConfig_s {
uint8_t baro_sample_count; // size of baro filter array