Diff between 20864af937f35d5cf2b9195a080cbcc48f5a1044 and 4d88fd2fabd6257869f7dc5fc2d7d1b08f879faf
Changed Files
| File | Additions | Deletions | Status |
| emulator/bthost.c | +1 | -1 | modified |
Full Patch
diff --git a/emulator/bthost.c b/emulator/bthost.c
index c7d59ee..8c40fce 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
@@ -59,7 +59,7 @@
/* RFCOMM FCS calculation */
#define CRC(data) (rfcomm_crc_table[rfcomm_crc_table[0xff ^ data[0]] ^ data[1]])
-static unsigned char rfcomm_crc_table[256] = {
+static const unsigned char rfcomm_crc_table[256] = {
0x00, 0x91, 0xe3, 0x72, 0x07, 0x96, 0xe4, 0x75,
0x0e, 0x9f, 0xed, 0x7c, 0x09, 0x98, 0xea, 0x7b,
0x1c, 0x8d, 0xff, 0x6e, 0x1b, 0x8a, 0xf8, 0x69,