Replacing usleep with px4_usleep

This is a step towards isolating time from the system.
This commit is contained in:
Julian Oes
2018-10-04 06:51:04 +02:00
parent e485885344
commit 5b9dea5604
112 changed files with 339 additions and 305 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ extern "C" {
#endif
while (sim_delay) {
usleep(100);
px4_usleep(100);
}
PX4_DEBUG("Called px4_poll timeout = %d", timeout);