From 8df8ec4353b7813f6f906a23eb9e9fddf715430a Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Sat, 2 Nov 2024 10:17:55 +0100 Subject: [PATCH] Remove unavailable config labels and markers --- docs/docs/api/crc16.md | 2 +- docs/docs/api/crc8.md | 2 +- src/crc/_crc.py | 8 +------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/docs/api/crc16.md b/docs/docs/api/crc16.md index 42a3ee7..bac8bb5 100644 --- a/docs/docs/api/crc16.md +++ b/docs/docs/api/crc16.md @@ -4,4 +4,4 @@ ::: crc.Crc16 options: - members: ["CCITT", "GSM", "PROFIBUS","CCITT_FALSE","IBM","MAXIM","USB","X25","DNP"] + members: ["GSM", "PROFIBUS", "IBM","MAXIM","USB","X25","DNP"] diff --git a/docs/docs/api/crc8.md b/docs/docs/api/crc8.md index cdac715..88b6e2e 100644 --- a/docs/docs/api/crc8.md +++ b/docs/docs/api/crc8.md @@ -4,4 +4,4 @@ ::: crc.Crc8 options: - members: ["CCITT", "AUTOSAR", "BLUETOOTH", "SAEJ1850", "MAXIM_DOW","ITU","MAXIM","ROHC"] + members: ["CCITT", "AUTOSAR", "BLUETOOTH", "SAEJ1850", "MAXIM_DOW","ITU","ROHC"] diff --git a/src/crc/_crc.py b/src/crc/_crc.py index 861d85e..4cb7b3f 100644 --- a/src/crc/_crc.py +++ b/src/crc/_crc.py @@ -549,9 +549,6 @@ class Crc16(enum.Enum): reverse_input=False, reverse_output=False, ) - """ - :Alias: CCITT_FALSE - """ KERMIT = Configuration( width=16, @@ -561,15 +558,12 @@ class Crc16(enum.Enum): reverse_input=True, reverse_output=True, ) - """ - :Alias: CCITT - """ IBM = Configuration( width=16, polynomial=0x8005, init_value=0x0000, - final_xor_value=0, + final_xor_value=0x0000, reverse_input=True, reverse_output=True, )