diff --git a/libraries/SrcWrapper/src/stm32/hw_config.c b/libraries/SrcWrapper/src/stm32/hw_config.c index d1c0649292..7a6d98a721 100644 --- a/libraries/SrcWrapper/src/stm32/hw_config.c +++ b/libraries/SrcWrapper/src/stm32/hw_config.c @@ -22,11 +22,14 @@ extern "C" { #if defined(HAL_CRC_MODULE_ENABLED) CRC_HandleTypeDef hcrc = {.Instance = #if defined(CRC2_BASE) - CRC2 + CRC2, #elif defined(CRC_BASE) - CRC + CRC, #else #error "No CRC instance available!" +#endif +#if defined(CRC_INPUTDATA_FORMAT_BYTES) + .InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES #endif }; #endif pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy