diff options
Diffstat (limited to 'firmware/common/crc32.c')
-rw-r--r-- | firmware/common/crc32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/common/crc32.c b/firmware/common/crc32.c index 21fefac07f..f02243dbb6 100644 --- a/firmware/common/crc32.c +++ b/firmware/common/crc32.c | |||
@@ -19,6 +19,8 @@ | |||
19 | 19 | ||
20 | /* Code copied from firmware_flash plugin. */ | 20 | /* Code copied from firmware_flash plugin. */ |
21 | 21 | ||
22 | #include "crc32.h" | ||
23 | |||
22 | /* Tool function to calculate a CRC32 across some buffer */ | 24 | /* Tool function to calculate a CRC32 across some buffer */ |
23 | /* third argument is either 0xFFFFFFFF to start or value from last piece */ | 25 | /* third argument is either 0xFFFFFFFF to start or value from last piece */ |
24 | unsigned crc_32(const void *src, unsigned len, unsigned crc32) | 26 | unsigned crc_32(const void *src, unsigned len, unsigned crc32) |