Merge pull request #171 from dflogeras/rccEnableCRC

Fix for rccEnableCRC macro parameter.
This commit is contained in:
Fabien Poussin 2018-11-01 14:36:20 +01:00 committed by GitHub
commit dc725b6e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ void crc_lld_start(CRCDriver *crcp) {
if (crcp->config == NULL)
crcp->config = &default_config;
rccEnableCRC();
rccEnableCRC( FALSE );
#if STM32_CRC_PROGRAMMABLE == TRUE
crcp->crc->INIT = crcp->config->initial_val;