diff --git a/src/CHANGES.md b/src/CHANGES.md index 1b733050..c3918c4d 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.8.151 - 2024-10-03 +* don't interrupt current command by setting a new limit #1757 + ## 0.8.150 - 2024-10-02 * fix nullptr exception * modified MqTT to not publish while not connected diff --git a/src/defines.h b/src/defines.h index 19e4e6d2..4b2828c8 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 8 -#define VERSION_PATCH 150 +#define VERSION_PATCH 151 //------------------------------------- typedef struct { uint8_t ch; diff --git a/src/hm/Communication.h b/src/hm/Communication.h index 31f2214a..6290fc31 100644 --- a/src/hm/Communication.h +++ b/src/hm/Communication.h @@ -34,13 +34,6 @@ class Communication : public CommQueue<> { mPrintWholeTrace = printWholeTrace; } - void addImportant(Inverter<> *iv, uint8_t cmd) { - if(!mIsDevControl) // only reset communication once there is no other devcontrol command - mState = States::IDLE; // cancel current operation - mIsDevControl = true; - CommQueue::addImportant(iv, cmd); - } - void addPayloadListener(payloadListenerType cb) { mCbPayload = cb; } @@ -95,9 +88,6 @@ class Communication : public CommQueue<> { mLocalBuf[i].len = 0; } - if(!q->isDevControl) - mIsDevControl = false; // reset devcontrol flag - if(*mSerialDebug) mHeu.printStatus(q->iv); mHeu.getTxCh(q->iv); @@ -1066,7 +1056,6 @@ class Communication : public CommQueue<> { Heuristic mHeu; uint32_t mLastEmptyQueueMillis = 0; bool mPrintSequenceDuration = false; - bool mIsDevControl = false; // holds if current command is devcontrol }; #endif /*__COMMUNICATION_H__*/