mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 01:41:36 +08:00
Replacing usleep with px4_usleep
This is a step towards isolating time from the system.
This commit is contained in:
@@ -133,7 +133,7 @@ static int
|
||||
load(const char *devname, const char *fname, bool append)
|
||||
{
|
||||
// sleep a while to ensure device has been set up
|
||||
usleep(20000);
|
||||
px4_usleep(20000);
|
||||
|
||||
int dev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user