mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +08:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user