1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Remove sensor_gyro.c's dependency on mw.h/board.h.

This commit is contained in:
Dominic Clifton 2014-04-22 20:14:52 +01:00
parent fbfb75b24a
commit db9042757d
3 changed files with 16 additions and 9 deletions

View file

@ -92,7 +92,7 @@ void computeIMU(void)
uint32_t axis;
static int16_t gyroYawSmooth = 0;
gyroGetADC();
gyroGetADC(masterConfig.moron_threshold);
if (sensors(SENSOR_ACC)) {
updateAccelerationReadings(&currentProfile.accelerometerTrims);
getEstimatedAttitude();