Skip to content

Commit 251b502

Browse files
0x657373656C6Cfpistm
authored andcommitted
Fix for ADC timing for NUCLEO-WL55JC (STM32WLxx)
1 parent 42a4505 commit 251b502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SrcWrapper/src/stm32/analog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ uint16_t adc_read_value(PinName pin, uint32_t resolution)
898898
#if defined(STM32F0xx)
899899
AdcHandle.Init.SamplingTimeCommon = samplingTime;
900900
#endif
901-
#if defined(STM32G0xx)
901+
#if defined(STM32G0xx) || defined(STM32WLxx)
902902
AdcHandle.Init.SamplingTimeCommon1 = samplingTime; /* Set sampling time common to a group of channels. */
903903
AdcHandle.Init.SamplingTimeCommon2 = samplingTime; /* Set sampling time common to a group of channels, second common setting possible.*/
904904
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy