mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Acc fn/variable renames to align with iNav
This commit is contained in:
parent
ff0628193f
commit
d90b42970c
10 changed files with 39 additions and 40 deletions
|
@ -46,7 +46,7 @@ typedef enum {
|
|||
typedef struct acc_s {
|
||||
accDev_t dev;
|
||||
uint32_t accSamplingInterval;
|
||||
int32_t accSmooth[XYZ_AXIS_COUNT];
|
||||
int32_t accADC[XYZ_AXIS_COUNT];
|
||||
bool isAccelUpdatedAtLeastOnce;
|
||||
} acc_t;
|
||||
|
||||
|
@ -75,7 +75,7 @@ typedef struct accelerometerConfig_s {
|
|||
PG_DECLARE(accelerometerConfig_t, accelerometerConfig);
|
||||
|
||||
bool accInit(uint32_t gyroTargetLooptime);
|
||||
bool isAccelerationCalibrationComplete(void);
|
||||
bool accIsCalibrationComplete(void);
|
||||
void accSetCalibrationCycles(uint16_t calibrationCyclesRequired);
|
||||
void resetRollAndPitchTrims(rollAndPitchTrims_t *rollAndPitchTrims);
|
||||
void accUpdate(timeUs_t currentTimeUs, rollAndPitchTrims_t *rollAndPitchTrims);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue