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`)
## 0.5.80
* fixed communication #656
## 0.5.79
* fixed mixed reset flags #648
* fixed `mCbAlarm` if MQTT is not used #653

2
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 {

4
src/hm/hmRadio.h

@ -9,6 +9,7 @@
#include "../utils/dbg.h"
#include <RF24.h>
#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];

1
src/hm/payload.h

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

Loading…
Cancel
Save