mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 20:11:35 +08:00
Replacing usleep with px4_usleep
This is a step towards isolating time from the system.
This commit is contained in:
@@ -118,7 +118,7 @@ int px4_mavlink_debug_main(int argc, char *argv[])
|
||||
warnx("sent one more value..");
|
||||
|
||||
value_counter++;
|
||||
usleep(500000);
|
||||
px4_usleep(500000);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user