mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
CopterControl: Fix build due to changing the AttitudeRaw structure.
This commit is contained in:
parent
2871c75a79
commit
f725fbe128
@ -255,8 +255,8 @@ static int8_t updateSensors(AttitudeRawData * attitudeRaw)
|
||||
y += -accel_data.y;
|
||||
z += -accel_data.z;
|
||||
} while ( (i < 32) && (samples_remaining > 0) );
|
||||
attitudeRaw->gyrotemp[0] = samples_remaining;
|
||||
attitudeRaw->gyrotemp[1] = i;
|
||||
attitudeRaw->temperature[ATTITUDERAW_TEMPERATURE_GYRO] = samples_remaining;
|
||||
attitudeRaw->temperature[ATTITUDERAW_TEMPERATURE_ACCEL] = i;
|
||||
|
||||
float accel[3] = {(float) x / i, (float) y / i, (float) z / i};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user