From 0766de6dbf1da6803ae41fc1093a2d92c4021390 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Mon, 16 Feb 2026 20:45:44 +0100 Subject: [PATCH] #62 reste id for new header --- Common/G2ProtocolHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Common/G2ProtocolHandler.cpp b/Common/G2ProtocolHandler.cpp index 5592acd..8aff591 100644 --- a/Common/G2ProtocolHandler.cpp +++ b/Common/G2ProtocolHandler.cpp @@ -104,6 +104,7 @@ bool CG2ProtocolHandler::setBuffer(unsigned char * buffer, int length) // Header or data packet type? if ((m_buffer[14] & 0x80) == 0x80) { m_type = GT_HEADER; + m_id = 0U; // reset the id for new header } else { m_type = GT_AMBE;