From 48e1c9f171ba438fe582b946a68594318c95e177 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 9 Feb 2019 17:17:55 +0100 Subject: [PATCH] Removed SPORT CRC Mixin --- radio/src/pulses/pxx2.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/radio/src/pulses/pxx2.h b/radio/src/pulses/pxx2.h index d50c763a5..3152a0691 100644 --- a/radio/src/pulses/pxx2.h +++ b/radio/src/pulses/pxx2.h @@ -90,24 +90,6 @@ class ModuleFifo : public Fifo { extern ModuleFifo intmoduleFifo; -// should not be used anymore -class SportCrcMixin { - protected: - void initCrc() - { - crc = 0; - } - - void addToCrc(uint8_t byte) - { - crc += byte; // 0-1FF - crc += crc >> 8; // 0-100 - crc &= 0x00ff; - } - - uint16_t crc; -}; - class Pxx2CrcMixin { protected: void initCrc()