2020-09-26 01:00:23 +00:00
|
|
|
// #include "flight.h"
|
2020-02-24 21:54:21 +00:00
|
|
|
|
|
|
|
#ifdef WITH_LOOKOUT // traffic awareness and warnings
|
|
|
|
#include "lookout.h"
|
2023-05-20 15:57:07 +00:00
|
|
|
extern LookOut<32> Look;
|
2020-02-24 21:54:21 +00:00
|
|
|
#endif
|
|
|
|
|
2020-08-29 17:54:47 +00:00
|
|
|
extern uint32_t BatteryVoltage; // [1/256 mV] averaged
|
|
|
|
extern int32_t BatteryVoltageRate; // [1/256 mV] averaged
|
|
|
|
|
2020-09-26 01:00:23 +00:00
|
|
|
// extern FlightMonitor Flight;
|
2020-02-24 21:54:21 +00:00
|
|
|
|
|
|
|
#ifdef WITH_ESP32
|
|
|
|
const uint8_t RelayQueueSize = 32;
|
|
|
|
#else
|
|
|
|
const uint8_t RelayQueueSize = 16;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern OGN_PrioQueue<OGN_Packet, RelayQueueSize> RelayQueue; // received packets and candidates to be relayed
|
|
|
|
|
2018-01-29 12:43:22 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
void vTaskPROC(void* pvParameters);
|
|
|
|
|