1
0
Fork 0
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:
borisbstyle 2015-08-15 23:00:15 +02:00
parent f2c6822c81
commit 5390cdc804
7 changed files with 14 additions and 9 deletions

View file

@ -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 {