mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Selectable BARO (set baro_hardware)
Disabling baro will boost performance on FULL boards
This commit is contained in:
parent
f2c6822c81
commit
5390cdc804
7 changed files with 14 additions and 9 deletions
|
@ -18,13 +18,15 @@
|
|||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
BARO_NONE = 0,
|
||||
BARO_DEFAULT = 1,
|
||||
BARO_DEFAULT = 0,
|
||||
BARO_NONE = 1,
|
||||
BARO_BMP085 = 2,
|
||||
BARO_MS5611 = 3,
|
||||
BARO_BMP280 = 4
|
||||
} baroSensor_e;
|
||||
|
||||
#define BARO_MAX BARO_BMP280
|
||||
|
||||
#define BARO_SAMPLE_COUNT_MAX 48
|
||||
|
||||
typedef struct barometerConfig_s {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue