diff options
Diffstat (limited to 'os/hal/platforms/STM32F1xx/stm32_rcc.h')
-rw-r--r-- | os/hal/platforms/STM32F1xx/stm32_rcc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32F1xx/stm32_rcc.h b/os/hal/platforms/STM32F1xx/stm32_rcc.h index 9ca1140e9..0f19f7b07 100644 --- a/os/hal/platforms/STM32F1xx/stm32_rcc.h +++ b/os/hal/platforms/STM32F1xx/stm32_rcc.h @@ -214,8 +214,8 @@ *
* @api
*/
-#define rccEnableBKPInterface(lp) \
- rccEnableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp);
+#define rccEnableBKPInterface(lp) \
+ rccEnableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp)
/**
* @brief Disables BKP interface clock.
@@ -225,22 +225,22 @@ *
* @api
*/
-#define rccDisableBKPInterface(lp) \
- rccDisableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp);
+#define rccDisableBKPInterface(lp) \
+ rccDisableAPB1((RCC_APB1ENR_BKPEN | RCC_APB1ENR_PWREN), lp)
/**
* @brief Resets the Backup Domain interface.
*
* @api
*/
-#define rccResetBKPInterface() rccResetAPB1(RCC_APB1ENR_BKPRST);
+#define rccResetBKPInterface() rccResetAPB1(RCC_APB1ENR_BKPRST)
/**
* @brief Resets the entire Backup Domain.
*
* @api
*/
-#define rccResetBKP() (RCC->BDCR |= RCC_BDCR_BDRST);
+#define rccResetBKP() (RCC->BDCR |= RCC_BDCR_BDRST)
/** @} */
/**
|