We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da75e5 commit 738d92aCopy full SHA for 738d92a
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/mbed_crc_api.c
@@ -42,7 +42,7 @@ void hal_crc_compute_partial_start(const crc_mbed_config_t* config)
42
return;
43
}
44
45
- width = ((config->polynomial & 0xFFFF0000U) != 0) ? kCrcBits32 : kCrcBits16;
+ width = (config->width == 32) ? kCrcBits32 : kCrcBits16;
46
final_xor = config->final_xor;
47
48
crc_config_t platform_config;
0 commit comments