diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-07-23 11:11:49 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-07-23 11:11:49 +0200 |
commit | a5f2d1b06645d4db33751aa8392fcbaf7f0856cc (patch) | |
tree | 1e13c03285ddd393a1a4b57a58784786ae2875a5 /src/modules/mavlink/mavlink_messages.h | |
parent | 344a34bb725a65769a227157f41363fd5d180a14 (diff) | |
download | px4-firmware-a5f2d1b06645d4db33751aa8392fcbaf7f0856cc.tar.gz px4-firmware-a5f2d1b06645d4db33751aa8392fcbaf7f0856cc.tar.bz2 px4-firmware-a5f2d1b06645d4db33751aa8392fcbaf7f0856cc.zip |
mavlink: new message sending API, includes fixed
Diffstat (limited to 'src/modules/mavlink/mavlink_messages.h')
-rw-r--r-- | src/modules/mavlink/mavlink_messages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mavlink/mavlink_messages.h b/src/modules/mavlink/mavlink_messages.h index ee64d0e42..7e4416609 100644 --- a/src/modules/mavlink/mavlink_messages.h +++ b/src/modules/mavlink/mavlink_messages.h @@ -46,10 +46,10 @@ class StreamListItem { public: - MavlinkStream* (*new_instance)(); + MavlinkStream* (*new_instance)(Mavlink *mavlink); const char* (*get_name)(); - StreamListItem(MavlinkStream* (*inst)(), const char* (*name)()) : + StreamListItem(MavlinkStream* (*inst)(Mavlink *mavlink), const char* (*name)()) : new_instance(inst), get_name(name) {}; |