small fix in RCC helper for RTC
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3347 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
3b722ddd33
commit
c1a1893307
|
@ -214,7 +214,8 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#define rccEnableBKP(lp) rccEnableAPB1(RCC_APB1ENR_BKPEN, lp);
|
||||
#define rccEnableBKP(lp) \
|
||||
rccEnableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp);
|
||||
|
||||
/**
|
||||
* @brief Disables BKP interface clock.
|
||||
|
@ -224,7 +225,8 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#define rccDisableBKP(lp) rccDisableAPB1(RCC_APB1ENR_BKPEN, lp);
|
||||
#define rccDisableBKP(lp) \
|
||||
rccDisableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp);
|
||||
|
||||
/**
|
||||
* @brief Resets the Backup Domain.
|
||||
|
|
Loading…
Reference in New Issue