Skip to content

Commit 6b5dabe

Browse files
author
Steven Cartmell
committed
HAL CRC: Use HAL polynomial enum instead of STM32 enum
1 parent acbf41e commit 6b5dabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32F0/mbed_crc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bool hal_crc_is_supported(const crc_mbed_config_t* config)
1515
return false;
1616
}
1717

18-
if (config->polynomial != DEFAULT_CRC32_POLY) {
18+
if (config->polynomial != POLY_32BIT_ANSI) {
1919
return false;
2020
}
2121

0 commit comments

Comments
 (0)