diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-10-08 21:01:06 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-10-08 21:01:06 +0300 |
commit | ad9f1d3e8e3585d286a9042b0e071a15f477825e (patch) | |
tree | 875bd94696c05814c495cdcb1faff67f7fe36486 /src/Storage/CRC32.cpp | |
parent | 4248a4e898a846c3fbfdcc2d6c2177f3b37e55e2 (diff) |
Various
Support fan tachos on expansion boards
Fix SHA1 value display bug
Add DotStar support to Duet 3 v0.6
Support CRC32 checking of uploaded files
Include spindle speeds in restore points
Reduced memory usage in Duet 2 builds
Minor improvements to thermistor handling
FansManager class is no longer attached to Platform
Removed duplicate CRC32 functionality
Fixed W5500 network code startup issue
Diffstat (limited to 'src/Storage/CRC32.cpp')
-rw-r--r-- | src/Storage/CRC32.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Storage/CRC32.cpp b/src/Storage/CRC32.cpp index b220721c..1d563def 100644 --- a/src/Storage/CRC32.cpp +++ b/src/Storage/CRC32.cpp @@ -1,10 +1,8 @@ #include "CRC32.h" -const uint32_t CRC32::CRC_32_TAB[256] = { - /* - CRC polynomial 0xedb88320 - This table can also be generated in runtime - */ +const uint32_t CRC32::CRC_32_TAB[256] = +{ + // CRC polynomial 0xedb88320 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, |