mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 06:03:33 +08:00
Merge pull request #2248 from mcharleb/gyrosim-fix
Gyrosim: Fixed constant looping
This commit is contained in:
@@ -63,9 +63,6 @@ Simulator *Simulator::getInstance()
|
||||
|
||||
bool Simulator::getMPUReport(uint8_t *buf, int len)
|
||||
{
|
||||
// Reads are paced from reading gyrosim and if
|
||||
// we don't delay here we read too fast
|
||||
usleep(50000);
|
||||
return _mpu.copyData(buf, len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user