Skip to content

Commit 74aec93

Browse files
authored
Merge pull request #7081 from OpenNuvoton/nuvoton_fix_crc
Fix mbed_crc_ctor is missing in some MbedCRC constructor
2 parents ade3d0c + f51d036 commit 74aec93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/MbedCRC.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ MbedCRC<POLY_16BIT_CCITT, 16>::MbedCRC(uint32_t initial_xor, uint32_t final_xor,
5353
_initial_value(initial_xor), _final_xor(final_xor), _reflect_data(reflect_data), _reflect_remainder(reflect_remainder),
5454
_crc_table((uint32_t *)Table_CRC_16bit_CCITT)
5555
{
56+
mbed_crc_ctor();
5657
}
5758

5859
template<>

0 commit comments

Comments
 (0)