mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
let mixer sleep a bit before loading to ensure device is set up
This commit is contained in:
parent
45ee36234d
commit
909508f8f9
@ -100,6 +100,9 @@ usage(const char *reason)
|
||||
static int
|
||||
load(const char *devname, const char *fname)
|
||||
{
|
||||
// sleep a while to ensure device has been set up
|
||||
usleep(20000);
|
||||
|
||||
int dev;
|
||||
char buf[2048];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user