|
|
@ -16,6 +16,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef AP_LTM_TELEM_ENABLED |
|
|
|
|
|
|
|
#define AP_LTM_TELEM_ENABLED !HAL_MINIMIZE_FEATURES |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if AP_LTM_TELEM_ENABLED |
|
|
|
|
|
|
|
|
|
|
|
static const uint8_t LTM_GFRAME_SIZE = 18; |
|
|
|
static const uint8_t LTM_GFRAME_SIZE = 18; |
|
|
|
static const uint8_t LTM_AFRAME_SIZE = 10; |
|
|
|
static const uint8_t LTM_AFRAME_SIZE = 10; |
|
|
|
static const uint8_t LTM_SFRAME_SIZE = 11; |
|
|
|
static const uint8_t LTM_SFRAME_SIZE = 11; |
|
|
@ -45,3 +51,5 @@ private: |
|
|
|
void send_LTM(uint8_t lt_packet[], uint8_t lt_packet_size); |
|
|
|
void send_LTM(uint8_t lt_packet[], uint8_t lt_packet_size); |
|
|
|
void tick(void); // tick - main call to send updates to transmitter (called by scheduler at 1kHz)
|
|
|
|
void tick(void); // tick - main call to send updates to transmitter (called by scheduler at 1kHz)
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|