26 #ifndef JEVOIS_MAVLINK_H
27 #define JEVOIS_MAVLINK_H
39 #define JEVOIS_DEV uart2
42 #define MAVLinkDev (&(JEVOIS_DEV).device)
43 #define MAVLinkTransmit(c) MAVLinkDev->put_byte(MAVLinkDev->periph, 0, c)
44 #define MAVLinkChAvailable() MAVLinkDev->char_available(MAVLinkDev->periph)
45 #define MAVLinkGetch() MAVLinkDev->get_byte(MAVLinkDev->periph)
46 #define MAVLinkSendMessage() MAVLinkDev->send_message(MAVLinkDev->periph, 0)
55 #include <mavlink/mavlink_types.h>
58 #define MAVLINK_USE_CONVENIENCE_FUNCTIONS
59 #define MAVLINK_ALIGNED_FIELDS 0
void jevois_mavlink_filter_periodic(void)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void jevois_mavlink_periodic(void)
#define MAVLinkTransmit(c)
void jevois_mavlink_init(void)
void jevois_mavlink_event(void)
static void comm_send_ch(mavlink_channel_t chan, uint8_t ch)
mavlink_system_t mavlink_system