mavlink: -r (datarate) parameter implemented, minor fixes

This commit is contained in:
Anton Babushkin
2014-02-27 18:31:41 +04:00
parent 141982a3ac
commit 2159f948ea
5 changed files with 65 additions and 30 deletions
+2 -1
View File
@@ -166,7 +166,7 @@ public:
const char *device_name;
enum MAVLINK_MODE {
MODE_TX_HEARTBEAT_ONLY=0,
MODE_CUSTOM=0,
MODE_OFFBOARD,
MODE_ONBOARD,
MODE_HIL
@@ -245,6 +245,7 @@ private:
bool _verbose;
int _uart;
int _baudrate;
int _datarate;
/**
* If the queue index is not at 0, the queue sending