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:
parent
6a24295525
commit
26f89b74bd
7 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue