mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 23:00:35 +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
|
||||
load(const char *devname, const char *fname)
|
||||
{
|
||||
// sleep a while to ensure device has been set up
|
||||
usleep(20000);
|
||||
|
||||
int dev;
|
||||
char buf[2048];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user