Browse Source

fixed communication #656

pull/664/head
lumapu 2 years ago
parent
commit
0e6faa79e3
  1. 3
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 4
      src/hm/hmRadio.h
  4. 1
      src/hm/payload.h

3
src/CHANGES.md

@ -2,6 +2,9 @@
(starting from release version `0.5.66`) (starting from release version `0.5.66`)
## 0.5.80
* fixed communication #656
## 0.5.79 ## 0.5.79
* fixed mixed reset flags #648 * fixed mixed reset flags #648
* fixed `mCbAlarm` if MQTT is not used #653 * fixed `mCbAlarm` if MQTT is not used #653

2
src/defines.h

@ -13,7 +13,7 @@
//------------------------------------- //-------------------------------------
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 5 #define VERSION_MINOR 5
#define VERSION_PATCH 79 #define VERSION_PATCH 80
//------------------------------------- //-------------------------------------
typedef struct { typedef struct {

4
src/hm/hmRadio.h

@ -9,6 +9,7 @@
#include "../utils/dbg.h" #include "../utils/dbg.h"
#include <RF24.h> #include <RF24.h>
#include "../utils/crc.h" #include "../utils/crc.h"
#include "../config/config.h"
#define SPI_SPEED 1000000 #define SPI_SPEED 1000000
@ -43,8 +44,6 @@ const char* const rf24AmpPowerNames[] = {"MIN", "LOW", "HIGH", "MAX"};
#define BIT_CNT(x) ((x)<<3) #define BIT_CNT(x) ((x)<<3)
static volatile bool mIrqRcvd;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// HM Radio class // HM Radio class
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@ -313,6 +312,7 @@ class HmRadio {
mSendCnt++; mSendCnt++;
} }
volatile bool mIrqRcvd;
uint64_t DTU_RADIO_ID; uint64_t DTU_RADIO_ID;
uint8_t mRfChLst[RF_CHANNELS]; uint8_t mRfChLst[RF_CHANNELS];

1
src/hm/payload.h

@ -48,7 +48,6 @@ class Payload {
mSerialDebug = false; mSerialDebug = false;
mHighPrioIv = NULL; mHighPrioIv = NULL;
mCbAlarm = NULL; mCbAlarm = NULL;
mCbAlarm = NULL;
} }
void enableSerialDebug(bool enable) { void enableSerialDebug(bool enable) {

Loading…
Cancel
Save