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:
parent
60e2227396
commit
06e871406e
12 changed files with 31 additions and 42 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue