mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Add acc and gyro accumulators to improve attitude estimation
This commit is contained in:
parent
d3d5b107cc
commit
22c672fa7d
9 changed files with 79 additions and 14 deletions
|
@ -130,9 +130,7 @@ void taskBatteryAlerts(timeUs_t currentTimeUs)
|
|||
#ifndef USE_OSD_SLAVE
|
||||
static void taskUpdateAccelerometer(timeUs_t currentTimeUs)
|
||||
{
|
||||
UNUSED(currentTimeUs);
|
||||
|
||||
accUpdate(&accelerometerConfigMutable()->accelerometerTrims);
|
||||
accUpdate(currentTimeUs, &accelerometerConfigMutable()->accelerometerTrims);
|
||||
}
|
||||
|
||||
static void taskUpdateRxMain(timeUs_t currentTimeUs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue