From bb6622883789f2a52035ba84b9909cd4027fcd49 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 17 Nov 2022 11:38:45 +0100 Subject: [PATCH] re-test the simpler method --- linux/devices/ploc/PlocSupvUartMan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux/devices/ploc/PlocSupvUartMan.cpp b/linux/devices/ploc/PlocSupvUartMan.cpp index ff57222d..149a553a 100644 --- a/linux/devices/ploc/PlocSupvUartMan.cpp +++ b/linux/devices/ploc/PlocSupvUartMan.cpp @@ -1149,6 +1149,9 @@ int PlocSupvUartManager::removeHdlcFramingWithCrcCheck(const uint8_t* src, size_ if (calcCrc != crc) { return 1; } + // if(calc_crc16_buff_reflected(dst, tlen) != 0) { + // return 1; + // } *dlen = tlen - 2; return 0; }