We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ccde0 commit 0abd0bdCopy full SHA for 0abd0bd
libraries/SrcWrapper/src/stm32/analog.cpp
@@ -898,7 +898,7 @@ uint16_t adc_read_value(PinName pin, uint32_t resolution)
898
#if defined(STM32F0xx)
899
AdcHandle.Init.SamplingTimeCommon = samplingTime;
900
#endif
901
-#if defined(STM32G0xx) || defined(STM32WLxx)
+#if defined(STM32G0xx) || defined(STM32U5xx) || defined(STM32WLxx)
902
AdcHandle.Init.SamplingTimeCommon1 = samplingTime; /* Set sampling time common to a group of channels. */
903
AdcHandle.Init.SamplingTimeCommon2 = samplingTime; /* Set sampling time common to a group of channels, second common setting possible.*/
904
0 commit comments