mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Cleanup baro/mag/gyro/acc method names from old sensors.c
This commit is contained in:
parent
7e76fd6995
commit
9f26018abd
12 changed files with 38 additions and 43 deletions
|
@ -18,12 +18,12 @@ extern bool AccInflightCalibrationMeasurementDone;
|
|||
extern bool AccInflightCalibrationSavetoEEProm;
|
||||
extern bool AccInflightCalibrationActive;
|
||||
|
||||
void ACC_SetCalibrationCycles(uint16_t calibrationCyclesRequired)
|
||||
void accSetCalibrationCycles(uint16_t calibrationCyclesRequired)
|
||||
{
|
||||
calibratingA = calibrationCyclesRequired;
|
||||
}
|
||||
|
||||
void ACC_Common(void)
|
||||
void accCommon(void)
|
||||
{
|
||||
static int32_t a[3];
|
||||
int axis;
|
||||
|
@ -109,11 +109,11 @@ void ACC_Common(void)
|
|||
accADC[GI_YAW] -= masterConfig.accZero[GI_YAW];
|
||||
}
|
||||
|
||||
void ACC_getADC(void)
|
||||
void accGetADC(void)
|
||||
{
|
||||
acc.read(accADC);
|
||||
alignSensors(accADC, accADC, accAlign);
|
||||
|
||||
ACC_Common();
|
||||
accCommon();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue