diff --git a/lib/VeDirectFrameHandler/VeDirectFrameHandler.cpp b/lib/VeDirectFrameHandler/VeDirectFrameHandler.cpp index 4c026e67b..e225f450c 100644 --- a/lib/VeDirectFrameHandler/VeDirectFrameHandler.cpp +++ b/lib/VeDirectFrameHandler/VeDirectFrameHandler.cpp @@ -61,7 +61,6 @@ class Silent : public Print { static Silent MessageOutputDummy; VeDirectFrameHandler::VeDirectFrameHandler() : - //mStop(false), // don't know what Victron uses this for, not using _msgOut(&MessageOutputDummy), _state(IDLE), _checksum(0), @@ -133,7 +132,6 @@ void VeDirectFrameHandler::rxData(uint8_t inbyte) _msgOut->println("[VE.Direct] ERROR: debug buffer overrun!"); } - //if (mStop) return; if ( (inbyte == ':') && (_state != CHECKSUM) ) { _prevState = _state; //hex frame can interrupt TEXT _state = RECORD_HEX; @@ -764,4 +762,4 @@ String VeDirectFrameHandler::getMpptAsString(uint8_t mppt) strMPPT = mppt; } return strMPPT; -} \ No newline at end of file +} diff --git a/lib/VeDirectFrameHandler/VeDirectFrameHandler.h b/lib/VeDirectFrameHandler/VeDirectFrameHandler.h index f789cd429..f6ed833ee 100644 --- a/lib/VeDirectFrameHandler/VeDirectFrameHandler.h +++ b/lib/VeDirectFrameHandler/VeDirectFrameHandler.h @@ -99,7 +99,6 @@ class VeDirectFrameHandler { void frameEndEvent(bool); // copy temp struct to public struct int hexRxEvent(uint8_t); - //bool mStop; // not sure what Victron uses this for, not using Print* _msgOut; bool _verboseLogging; int _state; // current state