mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Tidy of main pid loop.
This commit is contained in:
parent
e9963f454b
commit
8c7c72c5dc
3 changed files with 19 additions and 38 deletions
|
@ -419,11 +419,6 @@ void imuUpdateAccelerometer(rollAndPitchTrims_t *accelerometerTrims)
|
|||
}
|
||||
}
|
||||
|
||||
void imuUpdateGyro(void)
|
||||
{
|
||||
gyroUpdate();
|
||||
}
|
||||
|
||||
void imuUpdateAttitude(void)
|
||||
{
|
||||
if (sensors(SENSOR_ACC) && isAccelUpdatedAtLeastOnce) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue