HAL CRC: Use HAL polynomial enum instead of STM32 enum

pull/6708/head
Steven Cartmell 2018-05-11 13:44:57 +01:00
parent acbf41e673
commit 6b5dabe08b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}