We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7dbc7fd + bbde86d commit 4b78912Copy full SHA for 4b78912
1 file changed
libraries/SrcWrapper/src/air/analog.cpp
@@ -622,6 +622,12 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc)
622
}
623
#endif
624
#ifdef __HAL_RCC_ADC_CLK_ENABLE
625
+
626
+#if defined(AIR001xx)
627
+ __HAL_RCC_ADC_FORCE_RESET();
628
+ __HAL_RCC_ADC_RELEASE_RESET();
629
+#endif
630
631
__HAL_RCC_ADC_CLK_ENABLE();
632
633
/* For AIR32F1xx, AIRH7xx, and AIRMP1xx ADC prescaler is configured in
0 commit comments