diff --git a/src/CHANGES.md b/src/CHANGES.md index 09df4b0b..ae341ba6 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -2,6 +2,9 @@ (starting from release version `0.5.66`) +## 0.5.80 +* fixed communication #656 + ## 0.5.79 * fixed mixed reset flags #648 * fixed `mCbAlarm` if MQTT is not used #653 diff --git a/src/defines.h b/src/defines.h index 2a12e0e6..9dfb7884 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 5 -#define VERSION_PATCH 79 +#define VERSION_PATCH 80 //------------------------------------- typedef struct { diff --git a/src/hm/hmRadio.h b/src/hm/hmRadio.h index 9f671c54..b3466d00 100644 --- a/src/hm/hmRadio.h +++ b/src/hm/hmRadio.h @@ -9,6 +9,7 @@ #include "../utils/dbg.h" #include #include "../utils/crc.h" +#include "../config/config.h" #define SPI_SPEED 1000000 @@ -43,8 +44,6 @@ const char* const rf24AmpPowerNames[] = {"MIN", "LOW", "HIGH", "MAX"}; #define BIT_CNT(x) ((x)<<3) -static volatile bool mIrqRcvd; - //----------------------------------------------------------------------------- // HM Radio class //----------------------------------------------------------------------------- @@ -313,6 +312,7 @@ class HmRadio { mSendCnt++; } + volatile bool mIrqRcvd; uint64_t DTU_RADIO_ID; uint8_t mRfChLst[RF_CHANNELS]; diff --git a/src/hm/payload.h b/src/hm/payload.h index 071dfe0c..72166390 100644 --- a/src/hm/payload.h +++ b/src/hm/payload.h @@ -48,7 +48,6 @@ class Payload { mSerialDebug = false; mHighPrioIv = NULL; mCbAlarm = NULL; - mCbAlarm = NULL; } void enableSerialDebug(bool enable) {