mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Refactor missing prototypes 2 (#14170)
This commit is contained in:
parent
25f65cbc01
commit
b277364b2c
192 changed files with 487 additions and 410 deletions
|
@ -99,7 +99,7 @@ bool accHasBeenCalibrated(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void accResetRollAndPitchTrims(void)
|
||||
LOCAL_UNUSED_FUNCTION static void accResetRollAndPitchTrims(void)
|
||||
{
|
||||
resetRollAndPitchTrims(&accelerometerConfigMutable()->accelerometerTrims);
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ static void resetFlightDynamicsTrims(flightDynamicsTrims_t *accZero)
|
|||
accZero->values.calibrationCompleted = 0;
|
||||
}
|
||||
|
||||
void pgResetFn_accelerometerConfig(accelerometerConfig_t *instance)
|
||||
static void pgResetFn_accelerometerConfig(accelerometerConfig_t *instance)
|
||||
{
|
||||
RESET_CONFIG_2(accelerometerConfig_t, instance,
|
||||
.acc_lpf_hz = 25, // ATTITUDE/IMU runs at 100Hz (acro) or 500Hz (level modes) so we need to set 50 Hz (or lower) to avoid aliasing
|
||||
|
@ -130,7 +130,7 @@ extern bool AccInflightCalibrationMeasurementDone;
|
|||
extern bool AccInflightCalibrationSavetoEEProm;
|
||||
extern bool AccInflightCalibrationActive;
|
||||
|
||||
bool accDetect(accDev_t *dev, accelerationSensor_e accHardwareToUse)
|
||||
static bool accDetect(accDev_t *dev, accelerationSensor_e accHardwareToUse)
|
||||
{
|
||||
accelerationSensor_e accHardware = ACC_NONE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue