mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Moved accelerometer items to struct. masterConfig tidy.
This commit is contained in:
parent
ccd759d93a
commit
265cd85457
9 changed files with 64 additions and 62 deletions
|
@ -52,6 +52,11 @@ typedef union rollAndPitchTrims_u {
|
|||
rollAndPitchTrims_t_def values;
|
||||
} rollAndPitchTrims_t;
|
||||
|
||||
|
||||
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
|
||||
} accelerometerConfig_t;
|
||||
|
||||
void accInit(uint32_t gyroTargetLooptime);
|
||||
bool isAccelerationCalibrationComplete(void);
|
||||
void accSetCalibrationCycles(uint16_t calibrationCyclesRequired);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue