Skip to content

Commit 739bf99

Browse files
committed
Merge pull request #1082 from 0xc0170/fix_various_fixes
Nucleo L053R8 - multiple definition error for PLLMulTable fix
2 parents 5589173 + c741044 commit 739bf99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
/** @defgroup RCC_Private_Vatiables RCC Private Data
119119
* @{
120120
*/
121-
const uint8_t PLLMulTable[9] = {3, 4, 6, 8, 12, 16, 24, 32, 48};
122-
const uint8_t APBAHBPrescTable[16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9};
121+
static const uint8_t PLLMulTable[9] = {3, 4, 6, 8, 12, 16, 24, 32, 48};
122+
static const uint8_t APBAHBPrescTable[16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9};
123123

124124
/**
125125
* @}

0 commit comments

Comments
 (0)