aboutsummaryrefslogtreecommitdiffstats
path: root/src/crc16.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/crc16.zig')
-rw-r--r--src/crc16.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crc16.zig b/src/crc16.zig
index 2c49500..b69dcbc 100644
--- a/src/crc16.zig
+++ b/src/crc16.zig
@@ -1,7 +1,7 @@
1pub const InvalidChecksumError = error{InvalidChecksum}; 1pub const InvalidChecksumError = error{InvalidChecksum};
2 2
3const crc16tab: [256]u16 = tab: { 3const crc16tab: [256]u16 = tab: {
4 @setEvalBranchQuota(10000); 4 @setEvalBranchQuota(5000);
5 5
6 // CRC-16-CCITT/XMODEM 6 // CRC-16-CCITT/XMODEM
7 const poly: u32 = 0x1021; 7 const poly: u32 = 0x1021;