diff --git a/libs/libc/misc/lib_crc32.c b/libs/libc/misc/lib_crc32.c index f0b34a3c41..0015ec5e4d 100644 --- a/libs/libc/misc/lib_crc32.c +++ b/libs/libc/misc/lib_crc32.c @@ -106,6 +106,7 @@ uint32_t crc32part(FAR const uint8_t *src, size_t len, uint32_t crc32val) { crc32val = crc32_tab[(crc32val & 0xff) ^ src[i]] ^ (crc32val >> 8); } + return crc32val; }