Merged beta into master

This commit is contained in:
Lorenz Meier
2015-08-11 11:03:01 +02:00
15 changed files with 95 additions and 36 deletions

View File

@@ -1960,6 +1960,12 @@ Mavlink::start(int argc, char *argv[])
// before returning to the shell
int ic = Mavlink::instance_count();
if (ic == MAVLINK_COMM_NUM_BUFFERS) {
warnx("Maximum MAVLink instance count of %d reached.",
(int)MAVLINK_COMM_NUM_BUFFERS);
return 1;
}
// Instantiate thread
char buf[24];
sprintf(buf, "mavlink_if%d", ic);