libpax integration
This commit is contained in:
1 parent
731bbfb8d1
commit
3f3027aa69
13 files changed
+149
-6
No files matched your search
@@ -12,6 +12,9 @@
|
||||
#include "sdcard.h"
|
||||
#include "macsniff.h"
|
||||
#include "reset.h"
|
||||
#ifdef LIBPAX
|
||||
#include <libpax_api.h>
|
||||
#endif
|
||||
|
||||
extern Ticker cyclicTimer;
|
||||
|
||||
|
||||
@@ -141,6 +141,9 @@ extern uint8_t volatile channel; // wifi channel rotation counter
|
||||
extern uint8_t volatile rf_load; // RF traffic indicator
|
||||
extern uint8_t batt_level; // display value
|
||||
extern uint16_t volatile macs_wifi, macs_ble; // display values
|
||||
#ifdef LIBPAX
|
||||
extern uint16_t volatile libpax_macs_ble, libpax_macs_wifi; // libpax values
|
||||
#endif
|
||||
extern bool volatile TimePulseTick; // 1sec pps flag set by GPS or RTC
|
||||
extern timesource_t timeSource;
|
||||
extern hw_timer_t *displayIRQ, *matrixDisplayIRQ, *ppsIRQ;
|
||||
|
||||
@@ -9,10 +9,18 @@
|
||||
#include "display.h"
|
||||
#include "sdcard.h"
|
||||
|
||||
|
||||
#if (COUNT_ENS)
|
||||
#include "corona.h"
|
||||
#endif
|
||||
|
||||
#if (LIBPAX)
|
||||
#include <libpax_api.h>
|
||||
|
||||
extern struct count_payload_t count_from_libpax;
|
||||
#endif
|
||||
|
||||
|
||||
extern Ticker sendTimer;
|
||||
|
||||
void SendPayload(uint8_t port);
|
||||
|
||||
Reference in new issue
Block a user