forked from Archive/PX4-Autopilot
lockstep_scheduler: always use the same code
This define was not set anyway, and in my opinion we should not use different code for tests anyway.
This commit is contained in:
parent
52099f5792
commit
7a768dbab3
|
@ -40,9 +40,7 @@ private:
|
|||
// thread_local object can still be in the linked list. In that case
|
||||
// we need to wait until it's removed.
|
||||
while (!removed) {
|
||||
#ifndef UNIT_TESTS // unit tests don't define system_usleep and execute faster w/o sleeping here
|
||||
system_usleep(5000);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue