1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Moved xx_hardware out of sensorSelectionConfig into config for specific sensor

This commit is contained in:
Martin Budden 2016-12-04 22:15:41 +00:00
parent 60e2227396
commit 06e871406e
12 changed files with 31 additions and 42 deletions

View file

@ -57,6 +57,7 @@ typedef union rollAndPitchTrims_u {
typedef struct accelerometerConfig_s {
uint16_t acc_lpf_hz; // cutoff frequency for the low pass filter used on the acc z-axis for althold in Hz
sensor_align_e acc_align; // acc alignment
uint8_t acc_hardware; // Which acc hardware to use on boards with more than one device
} accelerometerConfig_t;
void accInit(uint32_t gyroTargetLooptime);