Mercurial > public > ostc4
diff Small_CPU/Src/system_stm32f4xx.c @ 160:e3ca52b8e7fa
Merge with FlipDisplay
author | heinrichsweikamp |
---|---|
date | Thu, 07 Mar 2019 15:06:43 +0100 |
parents | f35e53ef04e0 |
children |
line wrap: on
line diff
--- a/Small_CPU/Src/system_stm32f4xx.c Sat Oct 06 15:02:11 2018 +0200 +++ b/Small_CPU/Src/system_stm32f4xx.c Thu Mar 07 15:06:43 2019 +0100 @@ -123,9 +123,9 @@ is no need to call the 2 first functions listed above, since SystemCoreClock variable is updated automatically. */ - uint32_t SystemCoreClock = 16000000; - __I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9}; - +uint32_t SystemCoreClock = 16000000; +const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9}; +const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4}; /** * @} */