From 3250a27e83bd97a65e5693d5237faf7b52e64c42 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Tue, 17 Sep 2019 14:32:22 +0200 Subject: [PATCH] LMIC task priority raised 2 -> 5 --- src/lorawan.cpp | 2 +- src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 1e8c641f..5d8359d5 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -437,7 +437,7 @@ esp_err_t lora_stack_init() { "lmictask", // name of task 4096, // stack size of task (void *)1, // parameter of the task - 2, // priority of the task + 5, // priority of the task &lmicTask, // task handle 1); // CPU core diff --git a/src/main.cpp b/src/main.cpp index 8c5a9b93..c6eb2867 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,9 +31,9 @@ ledloop 0 3 blinks LEDs spiloop 0 2 reads/writes data on spi interface IDLE 0 0 ESP32 arduino scheduler -> runs wifi sniffer +lmictask 1 5 MCCI LMiC LORAWAN stack clockloop 1 4 generates realtime telegrams for external clock timesync_req 1 3 processes realtime time sync requests -lmictask 1 2 MCCI LMiC LORAWAN stack irqhandler 1 1 display, timesync, gps, etc. triggered by timers gpsloop 1 1 reads data from GPS via serial or i2c lorasendtask 1 1 feed data from lora sendqueue to lmcic