From 6ec85c20c4d7641d9f082bdaf85a53ec5a9eb92f Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Tue, 16 Jun 2020 18:01:05 +0200 Subject: [PATCH] removed unused var macs_total --- include/globals.h | 2 +- src/main.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/globals.h b/include/globals.h index 2d6988be..14ca8221 100644 --- a/include/globals.h +++ b/include/globals.h @@ -124,7 +124,7 @@ extern configData_t cfg; // current device configuration extern char lmic_event_msg[LMIC_EVENTMSG_LEN]; // display buffer extern uint8_t volatile channel; // wifi channel rotation counter extern uint8_t batt_level; // display value -extern uint16_t volatile macs_total, macs_wifi, macs_ble; // display values +extern uint16_t volatile macs_wifi, macs_ble; // display values extern bool volatile TimePulseTick; // 1sec pps flag set by GPS or RTC extern timesource_t timeSource; extern hw_timer_t *displayIRQ, *matrixDisplayIRQ, *ppsIRQ; diff --git a/src/main.cpp b/src/main.cpp index 17a8fa04..ed0bd9ee 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,8 +81,7 @@ configData_t cfg; // struct holds current device configuration char lmic_event_msg[LMIC_EVENTMSG_LEN]; // display buffer for LMIC event message uint8_t volatile channel = 0; // channel rotation counter uint8_t batt_level = 0; // display value -uint16_t volatile macs_total = 0, macs_wifi = 0, - macs_ble = 0; // globals for display +uint16_t volatile macs_wifi = 0, macs_ble = 0; // globals for display hw_timer_t *ppsIRQ = NULL, *displayIRQ = NULL, *matrixDisplayIRQ = NULL;