mavlink: store instances in array

- simplify mavlink header writes that go back through the mavlink module
 - add locking around mavlink command line usage (start, stop, status, etc)
This commit is contained in:
Daniel Agar
2021-02-20 11:28:22 +01:00
committed by Lorenz Meier
parent 4984c19700
commit 9ed959402e
5 changed files with 93 additions and 175 deletions
+2 -1
View File
@@ -41,9 +41,10 @@
#include <time.h>
#include <stdio.h>
#include <cstdbool>
#include "mavlink_bridge_header.h"
#include <drivers/drv_hrt.h>
#include "mavlink_bridge_header.h"
class Mavlink;
// MAVLink LOG_* Message Handler