Added note about CRC algorithm compatibility

main
Sam Lantinga 2022-08-11 14:27:08 -07:00
parent f35bbe0c3f
commit 9f30d4981e
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,9 @@
/* Public domain CRC implementation adapted from:
http://home.thep.lu.se/~bjorn/crc/crc32_simple.c
This algorithm is compatible with the 16-bit CRC described here:
https://www.lammertbies.nl/comm/info/crc-calculation
*/
/* NOTE: DO NOT CHANGE THIS ALGORITHM
There is code that relies on this in the joystick code

View File

@ -25,6 +25,9 @@
/* Public domain CRC implementation adapted from:
http://home.thep.lu.se/~bjorn/crc/crc32_simple.c
This algorithm is compatible with the 32-bit CRC described here:
https://www.lammertbies.nl/comm/info/crc-calculation
*/
/* NOTE: DO NOT CHANGE THIS ALGORITHM
There is code that relies on this in the joystick code