Replacing usleep with px4_usleep

This is a step towards isolating time from the system.
This commit is contained in:
Julian Oes
2018-12-22 10:32:18 +01:00
parent e485885344
commit 5b9dea5604
112 changed files with 339 additions and 305 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ int reboot_main(int argc, char *argv[])
return -1;
}
while (1) { usleep(1); } // this command should not return on success
while (1) { px4_usleep(1); } // this command should not return on success
return 0;
}