diff options
Diffstat (limited to 'apps/mavlink/mavlink_bridge_header.h')
-rw-r--r-- | apps/mavlink/mavlink_bridge_header.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/mavlink/mavlink_bridge_header.h b/apps/mavlink/mavlink_bridge_header.h index 8d34c3924..de8bc4ae7 100644 --- a/apps/mavlink/mavlink_bridge_header.h +++ b/apps/mavlink/mavlink_bridge_header.h @@ -43,9 +43,12 @@ #define MAVLINK_USE_CONVENIENCE_FUNCTIONS -//use efficient approach, see mavlink_helpers.h +/* use efficient approach, see mavlink_helpers.h */ #define MAVLINK_SEND_UART_BYTES mavlink_send_uart_bytes +#define MAVLINK_GET_CHANNEL_BUFFER mavlink_get_channel_buffer +#define MAVLINK_GET_CHANNEL_STATUS mavlink_get_channel_status + #include "v1.0/mavlink_types.h" #include <unistd.h> @@ -70,4 +73,7 @@ extern mavlink_system_t mavlink_system; */ extern void mavlink_send_uart_bytes(mavlink_channel_t chan, uint8_t *ch, int length); +mavlink_status_t* mavlink_get_channel_status(uint8_t chan); +mavlink_message_t* mavlink_get_channel_buffer(uint8_t chan); + #endif /* MAVLINK_BRIDGE_HEADER_H */ |