From 4d48b14b88c419ac370b320d03ae44b4f5bf495a Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sun, 13 Feb 2022 18:41:43 +0100 Subject: [PATCH] increase lmic task prio --- 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 ab5b2fe7..299481fc 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -305,7 +305,7 @@ esp_err_t lmic_init(void) { "lmictask", // name of task 4096, // stack size of task (void *)1, // parameter of the task - 1, // priority of the task + 2, // priority of the task &lmicTask, // task handle 1); // CPU core diff --git a/src/main.cpp b/src/main.cpp index dcec92e9..2e20fb76 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,7 +29,7 @@ Task Core Prio Purpose ------------------------------------------------------------------------------- ledloop* 1 1 blinks LEDs spiloop# 0 2 reads/writes data on spi interface -lmictask* 1 1 MCCI LMiC LORAWAN stack +lmictask* 1 2 MCCI LMiC LORAWAN stack clockloop# 1 6 generates realtime telegrams for external clock mqttloop# 1 5 reads/writes data on ETH interface timesync_proc# 1 7 processes realtime time sync requests