STM32: Fix for compilation introduced by last backup RAM change. Not sure it it is correct, be now things do compile
This commit is contained in:
parent
63711ad338
commit
0dc70108b8
@ -131,6 +131,7 @@ void stm32_pwr_enablebkp(bool writable)
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#if defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F40XX)
|
||||
void stm32_pwr_enablebreg(bool regon)
|
||||
{
|
||||
uint16_t regval;
|
||||
@ -145,6 +146,7 @@ void stm32_pwr_enablebreg(bool regon)
|
||||
while ((stm32_pwr_getreg(STM32_PWR_CSR_OFFSET) & PWR_CSR_BRR) == 0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: stm32_pwr_setvos
|
||||
|
@ -102,7 +102,11 @@ void stm32_pwr_enablebkp(bool writable);
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#if defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F40XX)
|
||||
void stm32_pwr_enablebreg(bool regon);
|
||||
#else
|
||||
# define stm32_pwr_enablebreg(regon)
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: stm32_pwr_setvos
|
||||
|
Loading…
Reference in New Issue
Block a user