1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Gyro native rate sampling, filtering, and scheduler restructuring

This commit is contained in:
Bruce Luckcuck 2020-01-06 07:52:35 -05:00
parent b11565efbe
commit f584780944
42 changed files with 718 additions and 421 deletions

View file

@ -33,6 +33,8 @@
#include "config/config.h"
#include "fc/runtime_config.h"
#include "flight/pid.h"
#include "sensors/sensors.h"
#include "sensors/adcinternal.h"
#include "sensors/acceleration.h"
@ -68,7 +70,7 @@ bool sensorsAutodetect(void)
#ifdef USE_ACC
if (gyroDetected) {
accInit(gyro.targetLooptime);
accInit(gyro.accSampleRateHz);
}
#endif