re-test the simpler method
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-11-17 11:38:45 +01:00
parent bce8c71e38
commit bb66228837
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -1149,6 +1149,9 @@ int PlocSupvUartManager::removeHdlcFramingWithCrcCheck(const uint8_t* src, size_
if (calcCrc != crc) { if (calcCrc != crc) {
return 1; return 1;
} }
// if(calc_crc16_buff_reflected(dst, tlen) != 0) {
// return 1;
// }
*dlen = tlen - 2; *dlen = tlen - 2;
return 0; return 0;
} }