GCS_MAVLink: correct return type on get_stream_slowdown_ms

Only used in one place.  On slow links may have caused us to re-request
a waypoint too often.  "Too often" is still >1s intervals.
This commit is contained in:
Peter Barker 2020-03-24 12:36:25 +11:00 committed by Andrew Tridgell
parent 0b756547be
commit ca7fcc093c

View File

@ -292,7 +292,7 @@ public:
static const struct stream_entries all_stream_entries[];
virtual uint64_t capabilities() const;
uint8_t get_stream_slowdown_ms() const { return stream_slowdown_ms; }
uint16_t get_stream_slowdown_ms() const { return stream_slowdown_ms; }
MAV_RESULT set_message_interval(uint32_t msg_id, int32_t interval_us);