libs/libc/crc16: move crc16 table to rodata

move crc16 table from data to rodata

Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
chao an
2025-04-06 22:21:03 +08:00
committed by Lup Yuen Lee
parent 4e2f6eabb3
commit 921ffc7319
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
/* From CRC-16-CCITT (x^16+x^12+x^5+1) */
static uint16_t crc16ccitt_tab[256] =
static const uint16_t crc16ccitt_tab[256] =
{
0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf,
0x8c48, 0x9dc1, 0xaf5a, 0xbed3, 0xca6c, 0xdbe5, 0xe97e, 0xf8f7,