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:
parent
fbfb75b24a
commit
db9042757d
3 changed files with 16 additions and 9 deletions
|
@ -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(¤tProfile.accelerometerTrims);
|
||||
getEstimatedAttitude();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue