* possible fix of #1553
@ -2,6 +2,7 @@
## 0.8.106 - 2024-04-05
* fix bootloop with CMT and NRF on ESP32 #1566 #1562
## 0.8.105 - 2024-04-05
* cleanup of `defines.h`
@ -19,7 +19,7 @@
#include "hm/hmSystem.h"
#include "hm/NrfRadio.h"
#if defined(ESP32)
#include "hms/hmsRadio.h"
#include "hms/CmtRadio.h"
#endif
#if defined(ENABLE_MQTT)
#include "publisher/pubMqtt.h"
@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 105
#define VERSION_PATCH 106
typedef struct {
uint8_t ch;
@ -248,14 +248,12 @@ class Cmt2300a {
}
CmtStatus tx(uint8_t buf[], uint8_t len) {
if(mTxPending)
return CmtStatus::ERR_TX_PENDING;
if(mInRxMode) {
mInRxMode = false;
if(!cmtSwitchStatus(CMT2300A_GO_STBY, CMT2300A_STA_STBY))
return CmtStatus::ERR_SWITCH_STATE;
mTxPending = false; // safety
mSpi.writeReg(CMT2300A_CUS_INT1_CTL, CMT2300A_INT_SEL_TX_DONE);