avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [bug #37901] CRC-CCITT calculation incorrect


From: Erik Walthinsen
Subject: Re: [avr-libc-dev] [bug #37901] CRC-CCITT calculation incorrect
Date: Tue, 11 Dec 2012 08:19:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1

On 12/11/2012 08:07 AM, Weddington, Eric wrote:
Please send ideas for improvement. We're always open-minded, but just sticklers 
for detail (as I'm sure you can tell).

One option might be to retain the current function solely as #defines, but make the *actual* functions strictly defined by their properties:

__crc16_1021_ffff()
__crc16_8408_ffff()
etc.

Update the documentation with a table derived from wikipedia and other sources that explicitly shows those parameters (e.g. Xmodem is one, "CCITT" is another, Xmega CRC / NVM hardware is *this* one, etc.) along with the "historical" name that's #defined in.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]