diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 440b4a47..d83eaca7 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -19,7 +19,7 @@ RTC_DATA_ATTR lmic_t RTC_LMIC; #endif #endif -QueueHandle_t LoraSendQueue; +static QueueHandle_t LoraSendQueue; TaskHandle_t lmicTask = NULL, lorasendTask = NULL; class MyHalConfig_t : public Arduino_LMIC::HalConfiguration_t { diff --git a/src/macsniff.cpp b/src/macsniff.cpp index e5044039..2ff27634 100644 --- a/src/macsniff.cpp +++ b/src/macsniff.cpp @@ -6,7 +6,7 @@ // Local logging tag static const char TAG[] = __FILE__; -QueueHandle_t MacQueue; +static QueueHandle_t MacQueue; TaskHandle_t macProcessTask; static uint32_t salt = renew_salt(); diff --git a/src/mqttclient.cpp b/src/mqttclient.cpp index 3be38ba9..89d54fde 100644 --- a/src/mqttclient.cpp +++ b/src/mqttclient.cpp @@ -4,7 +4,7 @@ static const char TAG[] = __FILE__; -QueueHandle_t MQTTSendQueue; +static QueueHandle_t MQTTSendQueue; TaskHandle_t mqttTask; Ticker mqttTimer; diff --git a/src/rcommand.cpp b/src/rcommand.cpp index b568b505..0426c475 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -5,7 +5,7 @@ // Local logging tag static const char TAG[] = __FILE__; -QueueHandle_t RcmdQueue; +static QueueHandle_t RcmdQueue; TaskHandle_t rcmdTask; // set of functions that can be triggered by remote commands diff --git a/src/spislave.cpp b/src/spislave.cpp index d0778384..4b2087d8 100644 --- a/src/spislave.cpp +++ b/src/spislave.cpp @@ -43,7 +43,7 @@ static const char TAG[] = __FILE__; DMA_ATTR uint8_t txbuf[BUFFER_SIZE]; DMA_ATTR uint8_t rxbuf[BUFFER_SIZE]; -QueueHandle_t SPISendQueue; +static QueueHandle_t SPISendQueue; TaskHandle_t spiTask;