Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: stm32f1xx_hal_msp.c
- Revision:
- 5:27071c2166bb
- Parent:
- 0:dfdf46225b14
--- a/stm32f1xx_hal_msp.c Tue Mar 29 16:51:33 2016 +0000
+++ b/stm32f1xx_hal_msp.c Tue Feb 05 13:28:38 2019 +0000
@@ -69,7 +69,7 @@
/* USER CODE END ADC1_MspInit 0 */
/* Peripheral clock enable */
- __ADC1_CLK_ENABLE();
+ __HAL_RCC_ADC1_CLK_ENABLE();
/* USER CODE BEGIN ADC1_MspInit 1 */
/* USER CODE END ADC1_MspInit 1 */
@@ -86,7 +86,7 @@
/* USER CODE END ADC1_MspDeInit 0 */
/* Peripheral clock disable */
- __ADC1_CLK_DISABLE();
+ __HAL_RCC_ADC1_CLK_DISABLE();
}
/* USER CODE BEGIN ADC1_MspDeInit 1 */