From 308104f321a7ecb31c77fc94fd05604a66cf06f3 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Wed, 4 Jan 2023 22:40:25 +0100 Subject: [PATCH] Fix comment in Utility.js Signed-off-by: Severin Kaderli --- src/MagSend-Website/scripts/Utility.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/MagSend-Website/scripts/Utility.js b/src/MagSend-Website/scripts/Utility.js index a76aa0f..3bac106 100644 --- a/src/MagSend-Website/scripts/Utility.js +++ b/src/MagSend-Website/scripts/Utility.js @@ -8,19 +8,19 @@ class Utility { * The specifics of the algorithm is coming from the AUTOSAR CRC specification: * https://www.autosar.org/fileadmin/user_upload/standards/classic/21-11/AUTOSAR_SWS_CRCLibrary.pdf * - * > Utility.crc8([0x0, 0x0, 0x0, 0x0]).toString(16) + * > Utility.crc8Autosar([0x0, 0x0, 0x0, 0x0]).toString(16) * "12" - * > Utility.crc8([0xF2, 0x01, 0x83]).toString(16) + * > Utility.crc8Autosar([0xF2, 0x01, 0x83]).toString(16) * "c2" - * > Utility.crc8([0x0F, 0xAA, 0x00, 0x55]).toString(16) + * > Utility.crc8Autosar([0x0F, 0xAA, 0x00, 0x55]).toString(16) * "c6" - * > Utility.crc8([0x00, 0xff, 0x55, 0x11]).toString(16) + * > Utility.crc8Autosar([0x00, 0xff, 0x55, 0x11]).toString(16) * "77" - * > Utility.crc8([0x33, 0x22, 0x55, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff]).toString(16) + * > Utility.crc8Autosar([0x33, 0x22, 0x55, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff]).toString(16) * "11" - * > Utility.crc8([0x92, 0x6b, 0x55]).toString(16) + * > Utility.crc8Autosar([0x92, 0x6b, 0x55]).toString(16) * "33" - * > Utility.crc8([0xff, 0xff, 0xff, 0xff]).toString(16) + * > Utility.crc8Autosar([0xff, 0xff, 0xff, 0xff]).toString(16) * "6c" * * @param {Number[]} bytes