kopia lustrzana https://github.com/pjalocha/esp32-ogn-tracker
26 wiersze
598 B
C
26 wiersze
598 B
C
// #include "flight.h"
|
|
|
|
#ifdef WITH_LOOKOUT // traffic awareness and warnings
|
|
#include "lookout.h"
|
|
extern LookOut Look;
|
|
#endif
|
|
|
|
extern uint32_t BatteryVoltage; // [1/256 mV] averaged
|
|
extern int32_t BatteryVoltageRate; // [1/256 mV] averaged
|
|
|
|
// extern FlightMonitor Flight;
|
|
|
|
#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
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
void vTaskPROC(void* pvParameters);
|
|
|