mirror of https://github.com/ARMmbed/mbed-os.git
HAL CRC: Use HAL polynomial enum instead of STM32 enum
parent
acbf41e673
commit
6b5dabe08b
|
@ -15,7 +15,7 @@ bool hal_crc_is_supported(const crc_mbed_config_t* config)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (config->polynomial != DEFAULT_CRC32_POLY) {
|
||||
if (config->polynomial != POLY_32BIT_ANSI) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue