@@ -24,46 +24,6 @@ namespace mbed {
24
24
25
25
/* Default values for different types of polynomials
26
26
*/
27
- template <>
28
- MbedCRC<POLY_32BIT_ANSI, 32 >::MbedCRC(uint32_t initial_xor, uint32_t final_xor, bool reflect_data, bool reflect_remainder):
29
- _initial_value (initial_xor), _final_xor(final_xor), _reflect_data(reflect_data), _reflect_remainder(reflect_remainder),
30
- _crc_table((uint32_t *)Table_CRC_32bit_ANSI)
31
- {
32
- mbed_crc_ctor ();
33
- }
34
-
35
- template <>
36
- MbedCRC<POLY_8BIT_CCITT, 8 >::MbedCRC(uint32_t initial_xor, uint32_t final_xor, bool reflect_data, bool reflect_remainder):
37
- _initial_value (initial_xor), _final_xor(final_xor), _reflect_data(reflect_data), _reflect_remainder(reflect_remainder),
38
- _crc_table((uint32_t *)Table_CRC_8bit_CCITT)
39
- {
40
- mbed_crc_ctor ();
41
- }
42
-
43
- template <>
44
- MbedCRC<POLY_7BIT_SD, 7 >::MbedCRC(uint32_t initial_xor, uint32_t final_xor, bool reflect_data, bool reflect_remainder):
45
- _initial_value (initial_xor), _final_xor(final_xor), _reflect_data(reflect_data), _reflect_remainder(reflect_remainder),
46
- _crc_table((uint32_t *)Table_CRC_7Bit_SD)
47
- {
48
- mbed_crc_ctor ();
49
- }
50
-
51
- template <>
52
- MbedCRC<POLY_16BIT_CCITT, 16 >::MbedCRC(uint32_t initial_xor, uint32_t final_xor, bool reflect_data, bool reflect_remainder):
53
- _initial_value (initial_xor), _final_xor(final_xor), _reflect_data(reflect_data), _reflect_remainder(reflect_remainder),
54
- _crc_table((uint32_t *)Table_CRC_16bit_CCITT)
55
- {
56
- mbed_crc_ctor ();
57
- }
58
-
59
- template <>
60
- MbedCRC<POLY_16BIT_IBM, 16 >::MbedCRC(uint32_t initial_xor, uint32_t final_xor, bool reflect_data, bool reflect_remainder):
61
- _initial_value (initial_xor), _final_xor(final_xor), _reflect_data(reflect_data), _reflect_remainder(reflect_remainder),
62
- _crc_table((uint32_t *)Table_CRC_16bit_IBM)
63
- {
64
- mbed_crc_ctor ();
65
- }
66
-
67
27
template <>
68
28
MbedCRC<POLY_32BIT_ANSI, 32 >::MbedCRC():
69
29
_initial_value (~(0x0 )), _final_xor(~(0x0 )), _reflect_data(true ), _reflect_remainder(true ),
0 commit comments