QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MAVLinkMessageInfo.cc
Go to the documentation of this file.
1// The only translation unit that enables the dialect's message-info helpers. It skips the precompiled header and
2// unity builds, which would include MAVLinkLib.h before this definition.
3#define MAVLINK_USE_MESSAGE_INFO
4
6
7#include "MAVLinkLib.h"
8
10
11const mavlink_message_info_t* byId(uint32_t msgId)
12{
13 return mavlink_get_message_info_by_id(msgId);
14}
15
16} // namespace MAVLinkMessageInfo
const mavlink_message_info_t * byId(uint32_t msgId)
Returns nullptr if the dialect has no message with this id.