make all queues static

This commit is contained in:
cyberman54 2021-01-01 15:55:22 +01:00
parent 61c7e4c12f
commit 571de8b9ab
5 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ RTC_DATA_ATTR lmic_t RTC_LMIC;
#endif #endif
#endif #endif
QueueHandle_t LoraSendQueue; static QueueHandle_t LoraSendQueue;
TaskHandle_t lmicTask = NULL, lorasendTask = NULL; TaskHandle_t lmicTask = NULL, lorasendTask = NULL;
class MyHalConfig_t : public Arduino_LMIC::HalConfiguration_t { class MyHalConfig_t : public Arduino_LMIC::HalConfiguration_t {

View File

@ -6,7 +6,7 @@
// Local logging tag // Local logging tag
static const char TAG[] = __FILE__; static const char TAG[] = __FILE__;
QueueHandle_t MacQueue; static QueueHandle_t MacQueue;
TaskHandle_t macProcessTask; TaskHandle_t macProcessTask;
static uint32_t salt = renew_salt(); static uint32_t salt = renew_salt();

View File

@ -4,7 +4,7 @@
static const char TAG[] = __FILE__; static const char TAG[] = __FILE__;
QueueHandle_t MQTTSendQueue; static QueueHandle_t MQTTSendQueue;
TaskHandle_t mqttTask; TaskHandle_t mqttTask;
Ticker mqttTimer; Ticker mqttTimer;

View File

@ -5,7 +5,7 @@
// Local logging tag // Local logging tag
static const char TAG[] = __FILE__; static const char TAG[] = __FILE__;
QueueHandle_t RcmdQueue; static QueueHandle_t RcmdQueue;
TaskHandle_t rcmdTask; TaskHandle_t rcmdTask;
// set of functions that can be triggered by remote commands // set of functions that can be triggered by remote commands

View File

@ -43,7 +43,7 @@ static const char TAG[] = __FILE__;
DMA_ATTR uint8_t txbuf[BUFFER_SIZE]; DMA_ATTR uint8_t txbuf[BUFFER_SIZE];
DMA_ATTR uint8_t rxbuf[BUFFER_SIZE]; DMA_ATTR uint8_t rxbuf[BUFFER_SIZE];
QueueHandle_t SPISendQueue; static QueueHandle_t SPISendQueue;
TaskHandle_t spiTask; TaskHandle_t spiTask;