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

Moved accZero and magZero out of sensorTrims into acc and compass config

This commit is contained in:
Martin Budden 2016-12-04 22:25:42 +00:00
parent 06e871406e
commit 229f6d14d4
7 changed files with 8 additions and 14 deletions

View file

@ -58,6 +58,7 @@ 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
flightDynamicsTrims_t accZero;
} accelerometerConfig_t;
void accInit(uint32_t gyroTargetLooptime);