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

Avoid passing a uint8_t to a gyro method that is only used during gyro

calibration.
Conflicts:

	src/config.c
	src/flight_imu.c
	src/mw.h
	src/sensors.c
	src/serial_cli.c
This commit is contained in:
Dominic Clifton 2014-04-23 01:35:49 +01:00
parent 9d56b4a00f
commit 11863e5c34
7 changed files with 29 additions and 10 deletions

View file

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