aboutsummaryrefslogtreecommitdiff
path: root/src/freedv_data_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedv_data_channel.c')
-rw-r--r--src/freedv_data_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedv_data_channel.c b/src/freedv_data_channel.c
index 7d361a1..dc1ad83 100644
--- a/src/freedv_data_channel.c
+++ b/src/freedv_data_channel.c
@@ -36,7 +36,7 @@
static unsigned char fdc_header_bcast[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
-/* CCIT CRC table (0x1201 polynomal) */
+/* CCIT CRC table (0x1201 polynomail) */
static unsigned short fdc_crc_table[256] = {
0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf,
0x8c48, 0x9dc1, 0xaf5a, 0xbed3, 0xca6c, 0xdbe5, 0xe97e, 0xf8f7,
@@ -84,7 +84,7 @@ static unsigned short fdc_crc(unsigned char *buffer, size_t len)
return crc ^ 0xffff;
}
-/* CRC4 0x03 polynomal */
+/* CRC4 0x03 polynomial */
static unsigned char fdc_crc4(unsigned char *buffer, size_t len)
{
unsigned char crc = 0x0f;