mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-12 22:20:36 +08:00
mavlink: Indicate if the instance did not start correctly (#9744)
This commit is contained in:
committed by
Daniel Agar
parent
8551d2eb9d
commit
02116c0a80
@@ -2676,7 +2676,12 @@ Mavlink::start(int argc, char *argv[])
|
||||
count++;
|
||||
}
|
||||
|
||||
return OK;
|
||||
if (ic == Mavlink::instance_count()) {
|
||||
return PX4_ERROR;
|
||||
|
||||
} else {
|
||||
return PX4_OK;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user