Fix regnual.

This commit is contained in:
NIIBE Yutaka
2017-11-26 19:28:03 +09:00
parent b5c2ace2ae
commit 8ce91267be
2 changed files with 3 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ static uint32_t calc_crc32 (void)
{
int i;
RCC->AHBENR &= ~RCC_AHBENR_CRCEN;
RCC->AHBENR |= RCC_AHBENR_CRCEN;
CRC->CR = CRC_CR_RESET;
for (i = 0; i < 256/4; i++)