MAVLink: Allow data rate updates

This commit is contained in:
Lorenz Meier
2016-06-21 16:38:53 +02:00
parent 1869ffd15f
commit 2f113a4ce3
3 changed files with 14 additions and 3 deletions
+3
View File
@@ -417,6 +417,9 @@ public:
void set_logging_enabled(bool logging) { _logging_enabled = logging; }
int get_data_rate() { return _datarate; }
void set_data_rate(int rate) { if (rate > 0) _datarate = rate; }
protected:
Mavlink *next;