This commit is contained in:
Klaus K Wilting 2018-04-27 23:57:16 +02:00
parent ad44687392
commit 9c10bdf5fe
2 changed files with 3 additions and 1 deletions

View File

@ -208,7 +208,9 @@ void lorawan_loop(void * pvParameters) {
#endif #endif
void IRAM_ATTR ChannelSwitchIRQ() { void IRAM_ATTR ChannelSwitchIRQ() {
portENTER_CRITICAL(&timerMux);
ChannelTimerIRQ++; ChannelTimerIRQ++;
portEXIT_CRITICAL(&timerMux);
} }
/* end hardware specific parts -------------------------------------------------------- */ /* end hardware specific parts -------------------------------------------------------- */

View File

@ -1,6 +1,6 @@
// program version - note: increment version after modifications to configData_t struct!! // 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" #define PROGNAME "PAXCNT"
//--- Declarations --- //--- Declarations ---