From 9c10bdf5fe4cb2fa5cd98b927c8dbcc1f1df01f1 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 27 Apr 2018 23:57:16 +0200 Subject: [PATCH] v1.3.31 --- src/main.cpp | 2 ++ src/main.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index bdf6eca3..75187849 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -208,7 +208,9 @@ void lorawan_loop(void * pvParameters) { #endif void IRAM_ATTR ChannelSwitchIRQ() { + portENTER_CRITICAL(&timerMux); ChannelTimerIRQ++; + portEXIT_CRITICAL(&timerMux); } /* end hardware specific parts -------------------------------------------------------- */ diff --git a/src/main.h b/src/main.h index 8b0d5b60..48390d7e 100644 --- a/src/main.h +++ b/src/main.h @@ -1,6 +1,6 @@ // program version - note: increment version after modifications to configData_t struct!! -#define PROGVERSION "1.3.3" // use max 10 chars here! +#define PROGVERSION "1.3.31" // use max 10 chars here! #define PROGNAME "PAXCNT" //--- Declarations ---