mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:23:33 +08:00
Replacing usleep with px4_usleep
This is a step towards isolating time from the system.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user