projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f58dd
)
fix crc32
author
Ilia Sergachev
<ilia.sergachev@pm.me>
Mon, 9 Sep 2019 11:19:43 +0000
(13:19 +0200)
committer
Ilia Sergachev
<ilia.sergachev@pm.me>
Mon, 9 Sep 2019 11:19:43 +0000
(13:19 +0200)
litex/soc/software/libbase/crc32.c
patch
|
blob
|
history
diff --git
a/litex/soc/software/libbase/crc32.c
b/litex/soc/software/libbase/crc32.c
index b8b58a76558470ac3bbebffba9f56a1c6151dba2..68f7b336cc20713411b269ff3e4141fa9e300d99 100644
(file)
--- a/
litex/soc/software/libbase/crc32.c
+++ b/
litex/soc/software/libbase/crc32.c
@@
-68,7
+68,6
@@
static const unsigned int crc_table[256] = {
unsigned int crc32(const unsigned char *buffer, unsigned int len)
{
- return 0;
unsigned int crc;
crc = 0;
crc = crc ^ 0xffffffffL;