mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-16 16:11:36 +08:00
MAVLink: Allow data rate updates
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user