diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-02-27 13:54:55 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-02-27 13:54:55 +0400 |
commit | 141982a3ac21e7a0437f1d7692e4024daf873c21 (patch) | |
tree | 4df9e006c286ab776e12d1ae4e955ce43889a1e3 /src/modules/mavlink/mavlink_main.h | |
parent | 18f72f8dd7a3bd4a9af00fe28afd29e0cc65e2e9 (diff) | |
download | px4-firmware-141982a3ac21e7a0437f1d7692e4024daf873c21.tar.gz px4-firmware-141982a3ac21e7a0437f1d7692e4024daf873c21.tar.bz2 px4-firmware-141982a3ac21e7a0437f1d7692e4024daf873c21.zip |
mavlink: minor refactoring and cleanup, rate limiter class implemented, new messages added
Diffstat (limited to 'src/modules/mavlink/mavlink_main.h')
-rw-r--r-- | src/modules/mavlink/mavlink_main.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/mavlink/mavlink_main.h b/src/modules/mavlink/mavlink_main.h index e7f3486da..506b4317a 100644 --- a/src/modules/mavlink/mavlink_main.h +++ b/src/modules/mavlink/mavlink_main.h @@ -201,7 +201,7 @@ public: */ int set_hil_enabled(bool hil_enabled); - MavlinkOrbSubscription *add_orb_subscription(const struct orb_metadata *topic, size_t size); + MavlinkOrbSubscription *add_orb_subscription(const orb_id_t topic, size_t size); mavlink_channel_t get_channel(); @@ -231,10 +231,7 @@ private: MAVLINK_MODE _mode; uint8_t _mavlink_wpm_comp_id; - mavlink_channel_t _chan; - -// XXX probably should be in a header... -// extern pthread_t receive_start(int uart); + mavlink_channel_t _channel; struct mavlink_logbuffer lb; unsigned int total_counter; @@ -248,7 +245,7 @@ private: bool _verbose; int _uart; int _baudrate; - bool gcs_link; + /** * If the queue index is not at 0, the queue sending * logic will send parameters from the current index |