diff options
Diffstat (limited to 'common/xyzModem.c')
-rw-r--r-- | common/xyzModem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c index 56f4bca..5656aac 100644 --- a/common/xyzModem.c +++ b/common/xyzModem.c @@ -446,7 +446,7 @@ xyzModem_get_hdr (void) /* Verify checksum/CRC */ if (xyz.crc_mode) { - cksum = cyg_crc16 (xyz.pkt, xyz.len); + cksum = crc16_ccitt(0, xyz.pkt, xyz.len); if (cksum != ((xyz.crc1 << 8) | xyz.crc2)) { ZM_DEBUG (zm_dprintf ("CRC error - recvd: %02x%02x, computed: %x\n", |