removed rf_load var

This commit is contained in:
cyberman54 2021-03-25 22:30:27 +01:00
parent d08914a219
commit 97ee6d653c
4 changed files with 2 additions and 4 deletions

View File

@ -130,7 +130,6 @@ extern configData_t cfg; // current device configuration
extern char clientId[20]; // unique clientID extern char clientId[20]; // unique clientID
extern char lmic_event_msg[LMIC_EVENTMSG_LEN]; // display buffer extern char lmic_event_msg[LMIC_EVENTMSG_LEN]; // display buffer
extern uint8_t volatile channel; // wifi channel rotation counter 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 uint8_t batt_level; // display value
extern uint16_t volatile libpax_macs_ble, libpax_macs_wifi; // libpax values extern uint16_t volatile libpax_macs_ble, libpax_macs_wifi; // libpax values
extern bool volatile TimePulseTick; // 1sec pps flag set by GPS or RTC extern bool volatile TimePulseTick; // 1sec pps flag set by GPS or RTC

View File

@ -312,7 +312,6 @@ void dp_drawPage(time_t t, bool nextpage) {
dp_printf(" "); dp_printf(" ");
#endif #endif
dp_printf(" ch:%02d", channel); dp_printf(" ch:%02d", channel);
// dp_printf(" due:%02d", rf_load);
dp_println(); dp_println();
// line 5: RSSI limiter + free memory // line 5: RSSI limiter + free memory

View File

@ -15,6 +15,7 @@ void process_count(void) {
} }
void init_libpax() { void init_libpax() {
libpax_counter_init(process_count, &count_from_libpax, 60 * 1000, 1); libpax_counter_init(process_count, &count_from_libpax, SENDCYCLE * 2 * 1000,
1);
libpax_counter_start(); libpax_counter_start();
} }

View File

@ -90,7 +90,6 @@ triggers pps 1 sec impulse
configData_t cfg; // struct holds current device configuration configData_t cfg; // struct holds current device configuration
char lmic_event_msg[LMIC_EVENTMSG_LEN]; // display buffer for LMIC event message char lmic_event_msg[LMIC_EVENTMSG_LEN]; // display buffer for LMIC event message
uint8_t batt_level = 0; // display value uint8_t batt_level = 0; // display value
uint8_t volatile rf_load = 0; // RF traffic indicator
char clientId[20] = {0}; // unique ClientID char clientId[20] = {0}; // unique ClientID
hw_timer_t *ppsIRQ = NULL, *displayIRQ = NULL, *matrixDisplayIRQ = NULL; hw_timer_t *ppsIRQ = NULL, *displayIRQ = NULL, *matrixDisplayIRQ = NULL;