From 00e855267cafaf765422657730346a0058061f28 Mon Sep 17 00:00:00 2001 From: Jason Young Date: Thu, 12 Sep 2024 16:08:05 -0400 Subject: [PATCH] codespell says you're gonna have to Google it --- opendbc/can/common.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opendbc/can/common.cc b/opendbc/can/common.cc index f587a23d1e..5311a2a402 100644 --- a/opendbc/can/common.cc +++ b/opendbc/can/common.cc @@ -136,9 +136,7 @@ static const std::unordered_map> crc_mqb_const }; unsigned int volkswagen_mqb_checksum(uint32_t address, const Signal &sig, const std::vector &d) { - // AUTOSAR E2E Profile 2, CRC-8H2F with a "data ID" appended to the payload, which varies by message and by counter - // https://www.autosar.org/fileadmin/standards/R20-11/FO/AUTOSAR_PRS_E2EProtocol.pdf - // https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_CRCLibrary.pdf + // This is AUTOSAR E2E Profile 2, CRC-8H2F with a "data ID" (varying by message/counter) appended to the payload uint8_t crc = 0xFF; // CRC-8H2F initial value