mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 13:23:34 +08:00
mavlink: Only send event-based messages if there is space in the buffer
This commit is contained in:
@@ -56,7 +56,20 @@ public:
|
||||
|
||||
MavlinkStream();
|
||||
virtual ~MavlinkStream();
|
||||
|
||||
/**
|
||||
* Get the interval
|
||||
*
|
||||
* @param interval the inveral in microseconds (us) between messages
|
||||
*/
|
||||
void set_interval(const unsigned int interval);
|
||||
|
||||
/**
|
||||
* Get the interval
|
||||
*
|
||||
* @return the inveral in microseconds (us) between messages
|
||||
*/
|
||||
unsigned get_interval() { return _interval; }
|
||||
void set_channel(mavlink_channel_t channel);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user