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:
parent
a0d1b00ade
commit
b0ef456ccb
@ -319,6 +319,7 @@ static void SensorsTask(void *parameters)
|
||||
}
|
||||
|
||||
if (gyro_samples == 0) {
|
||||
PIOS_MPU6000_ReadGyros(&mpu6000_data);
|
||||
error = true;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user