Files
gcs-nf/Plugins/MavLinkNode/mavlink/mavlink.h
T

18 lines
440 B
C
Raw Normal View History

// Minimal MAVLink header for GCS project
// Uses ardupilotmega dialect directly
#include "ardupilotmega/mavlink.h"
// Also expose common message types
#define MAVLINK_COMMON_INCLUDED
#include "common/common.h"
// Global state
extern mavlink_system_t mavlink_system;
extern mavlink_status_t mavlink_status;
// Channel send (XYK dialect function)
#ifndef comm_send_ch
#define comm_send_ch(chan, byte) ((void)(chan), (void)(byte))
#endif