1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Kickstart MPU6000 if there is no data

This commit is contained in:
James Cotton 2012-04-13 20:29:41 -05:00
parent a0d1b00ade
commit b0ef456ccb

View File

@ -319,6 +319,7 @@ static void SensorsTask(void *parameters)
}
if (gyro_samples == 0) {
PIOS_MPU6000_ReadGyros(&mpu6000_data);
error = true;
continue;
}