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