Browse Source

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.
c415-sdk
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
ca7fcc093c
  1. 2
      libraries/GCS_MAVLink/GCS.h

2
libraries/GCS_MAVLink/GCS.h

@ -292,7 +292,7 @@ public: @@ -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);

Loading…
Cancel
Save