make all queues static
This commit is contained in:
parent
61c7e4c12f
commit
571de8b9ab
@ -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 {
|
||||||
|
@ -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();
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user