2019-05-20 11:56:46 -03:00
|
|
|
#pragma once
|
2024-06-20 02:48:13 -03:00
|
|
|
#include "RingBuffer.h"
|
|
|
|
#include <GCS_MAVLink/GCS_config.h>
|
|
|
|
|
|
|
|
#ifndef AP_MAVLINK_PACKETISE_ENABLED
|
|
|
|
#define AP_MAVLINK_PACKETISE_ENABLED HAL_GCS_ENABLED
|
|
|
|
#endif
|
2018-12-05 01:58:12 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
return the number of bytes to send for a packetised connection
|
|
|
|
*/
|
|
|
|
uint16_t mavlink_packetise(ByteBuffer &writebuf, uint16_t n);
|
|
|
|
|