GCS_MAVLink: add comment above set-message-interval

This commit is contained in:
Randy Mackay 2019-10-02 16:17:09 +09:00 committed by Andrew Tridgell
parent b3fbceccb2
commit 9f5d629503
1 changed files with 3 additions and 0 deletions

View File

@ -788,7 +788,10 @@ public:
virtual bool simple_input_active() const { return false; }
virtual bool supersimple_input_active() const { return false; }
// set message interval for a given serial port and message id
// this function is for use by lua scripts, most consumers should use the channel level function
MAV_RESULT set_message_interval(uint8_t port_num, uint32_t msg_id, int32_t interval_us);
uint8_t get_channel_from_port_number(uint8_t port_num);
protected: