We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd2750a commit 5598aeeCopy full SHA for 5598aee
src/Comm/JsonDecoder.cpp
@@ -242,6 +242,12 @@ namespace Comm
242
}
243
m_seq = nullptr;
244
245
+
246
+ m_key.Clear();
247
+ m_flags.Clear();
248
249
+ responseType = ResponseType::unknown;
250
+ responseData = nullptr;
251
252
253
// Public functions called by the SerialIo module
@@ -655,9 +661,9 @@ namespace Comm
655
661
{
656
662
ZoneScoped;
657
663
LOG_DBG("checking {:d} chars", len);
658
- LOG_VERBOSE("rxBuffer: {:s}", std::string_view(reinterpret_cast<const char*>(rxBuffer), len));
664
+ LOG_DBG("rxBuffer: {:s}", std::string_view(reinterpret_cast<const char*>(rxBuffer), len));
659
665
660
- Reset();
666
+ m_nextOut = 0;
667
while (m_nextOut < len)
668
669
char c = rxBuffer[m_nextOut];
0 commit comments