Skip to content

Commit 92c55e7

Browse files
committed
Correct compilation issue
1 parent 927cba8 commit 92c55e7

File tree

5 files changed

+133
-283
lines changed

5 files changed

+133
-283
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/system_stm32f4xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
*/
160160
uint32_t SystemCoreClock = 16000000;
161161
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
162-
162+
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
163163
/**
164164
* @}
165165
*/

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device/system_stm32f4xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
*/
139139
uint32_t SystemCoreClock = 48000000;
140140
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
141-
141+
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
142142
/**
143143
* @}
144144
*/

targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device/system_stm32f4xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
*/
165165
uint32_t SystemCoreClock = 16000000;
166166
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
167-
167+
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
168168
/**
169169
* @}
170170
*/

0 commit comments

Comments
 (0)